Home
last modified time | relevance | path

Searched refs:ASSERT_NOT_NPC (Results 1 – 4 of 4) sorted by relevance

/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/
H A Dc99-const-expr-3.c21 #define ASSERT_NOT_NPC(n) (c = (1 ? a : (void *)(__SIZE_TYPE__)(n))) macro
27 ASSERT_NOT_NPC (ZERO); in foo()
29ASSERT_NOT_NPC (ZERO + 0); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-… in foo()
30ASSERT_NOT_NPC (ZERO + ZERO); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *… in foo()
32ASSERT_NOT_NPC (+ZERO); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* }… in foo()
34ASSERT_NOT_NPC (-ZERO); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* }… in foo()
36 ASSERT_NOT_NPC ((char) ZERO); in foo()
38 ASSERT_NOT_NPC ((int) ZERO); in foo()
H A Dc90-const-expr-3.c21 #define ASSERT_NOT_NPC(n) (c = (1 ? a : (void *)(__SIZE_TYPE__)(n))) macro
27 ASSERT_NOT_NPC (ZERO); in foo()
29ASSERT_NOT_NPC (ZERO + 0); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-… in foo()
30ASSERT_NOT_NPC (ZERO + ZERO); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *… in foo()
32ASSERT_NOT_NPC (+ZERO); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* }… in foo()
34ASSERT_NOT_NPC (-ZERO); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfail *-*-* }… in foo()
36 ASSERT_NOT_NPC ((char) ZERO); in foo()
38 ASSERT_NOT_NPC ((int) ZERO); in foo()
H A Dc90-const-expr-2.c24 #define ASSERT_NOT_NPC(n) (c = (1 ? a : (n))) macro
31ASSERT_NOT_NPC ((void *)(void *)0); /* { dg-bogus "incompatible" "bogus null pointer constant" { x… in foo()
32ASSERT_NOT_NPC ((void *)(char *)0); /* { dg-bogus "incompatible" "bogus null pointer constant" { x… in foo()
33ASSERT_NOT_NPC ((void *)(0, 0)); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfai… in foo()
34ASSERT_NOT_NPC ((void *)(&"Foobar"[0] - &"Foobar"[0])); /* { dg-bogus "incompatible" "bogus null p… in foo()
36ASSERT_NOT_NPC ((void *)(1 ? 0 : (0, 0))); /* { dg-bogus "incompatible" "bogus null pointer consta… in foo()
H A Dc99-const-expr-2.c24 #define ASSERT_NOT_NPC(n) (c = (1 ? a : (n))) macro
31ASSERT_NOT_NPC ((void *)(void *)0); /* { dg-bogus "incompatible" "bogus null pointer constant" { x… in foo()
32ASSERT_NOT_NPC ((void *)(char *)0); /* { dg-bogus "incompatible" "bogus null pointer constant" { x… in foo()
33ASSERT_NOT_NPC ((void *)(0, 0)); /* { dg-bogus "incompatible" "bogus null pointer constant" { xfai… in foo()
34ASSERT_NOT_NPC ((void *)(&"Foobar"[0] - &"Foobar"[0])); /* { dg-bogus "incompatible" "bogus null p… in foo()