]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/nofixed-point-2.c
java-gimplify.c (java_gimplify_block): New argument to build_empty_stmt.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / nofixed-point-2.c
CommitLineData
754ccf7c
JJ
1/* PR inline-asm/39059 */
2/* { dg-do compile { target {! fixed_point} } } */
3/* { dg-options "-std=gnu99" } */
4
5void
6f1 (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" } */
c2255bc4 12b2 (void) /* { dg-warning "defaults to" } */
754ccf7c
JJ
13{
14 return 0r; /* { dg-error "not supported" "reject fixed-point" } */
15}
16
17_Accum /* { dg-error "not supported" "reject fixed-point" } */
18f3 (void)
19{
20 return 0k; /* { dg-error "not supported" "reject fixed-point" } */
21}
22
23_Sat
24f4 (void) /* { dg-error "not supported" "reject fixed-point" } */
25{
26 return 0k; /* { dg-error "not supported" "reject fixed-point" } */
27}
28
754ccf7c 29/* { dg-error "is used without" "" { target *-*-* } 24 } */