Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/nofixed-point-2.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* PR inline-asm/39059 */ | |
2 /* { dg-do compile { target {! fixed_point} } } */ | |
3 /* { dg-options "-std=gnu99" } */ | |
4 | |
5 void | |
6 f1 (void) | |
7 { | |
8 asm ("" : : "r" (0r)); /* { dg-error "not supported" "reject fixed-point" } */ | |
9 } | |
10 | |
11 __typeof (0r) /* { dg-error "not supported" "reject fixed-point" } */ | |
12 b2 (void) /* { dg-bogus "defaults to" } */ | |
13 { | |
14 return 0r; /* { dg-error "not supported" "reject fixed-point" } */ | |
15 } | |
16 | |
17 _Accum /* { dg-error "not supported" "reject fixed-point" } */ | |
18 f3 (void) | |
19 { | |
20 return 0k; /* { dg-error "not supported" "reject fixed-point" } */ | |
21 } | |
22 | |
23 _Sat | |
24 /* { dg-error "not supported" "reject fixed-point" { target *-*-* } .-1 } */ | |
25 /* { dg-error "is used without" "" { target *-*-* } .-2 } */ | |
26 f4 (void) | |
27 { | |
28 return 0k; /* { dg-error "not supported" "reject fixed-point" } */ | |
29 } |