/dports/math/teyjus/teyjus-2.1-7-ge63f40a/source/test/compiler_tests/test9/ |
H A D | index.mod | 24 foo6 a :- foo6 a. 25 foo6 X :- foo6 a. 26 foo6 b :- foo6 a. 27 foo6 a :- foo6 a. 28 foo6 b :- foo6 b. 29 foo6 a :- foo6 X.
|
/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/gcc.dg/format/ |
H A D | sentinel-1.c | 22 extern void foo6 (const char *, ...) __attribute__ ((__sentinel__(5))); 49 foo6 ("a", 1, NULL); /* { dg-warning "not enough" "sentinel" } */ in bar() 50 foo6 ("a", 1, NULL, 2); /* { dg-warning "not enough" "sentinel" } */ in bar() 51 foo6 ("a", 1, NULL, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 52 foo6 ("a", NULL, 1, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 53 foo6 ("a", NULL, 1, 2, 3, 4); /* { dg-warning "not enough" "sentinel" } */ in bar() 54 foo6 (NULL, 1, 2, 3, 4, 5); /* { dg-warning "not enough" "sentinel" } */ in bar() 55 foo6 ("a", NULL, 1, 2, 3, 4, 5); in bar() 56 foo6 ("a", 0, NULL, 1, 2, 3, 4, 5); in bar() 57 foo6 ("a", 0, 1, 2, 3, 4, 5); /* { dg-warning "missing sentinel" "sentinel" } */ in bar() [all …]
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/gcc.dg/format/ |
H A D | sentinel-1.c | 22 extern void foo6 (const char *, ...) __attribute__ ((__sentinel__(5))); 49 foo6 ("a", 1, NULL); /* { dg-warning "not enough" "sentinel" } */ in bar() 50 foo6 ("a", 1, NULL, 2); /* { dg-warning "not enough" "sentinel" } */ in bar() 51 foo6 ("a", 1, NULL, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 52 foo6 ("a", NULL, 1, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 53 foo6 ("a", NULL, 1, 2, 3, 4); /* { dg-warning "not enough" "sentinel" } */ in bar() 54 foo6 (NULL, 1, 2, 3, 4, 5); /* { dg-warning "not enough" "sentinel" } */ in bar() 55 foo6 ("a", NULL, 1, 2, 3, 4, 5); in bar() 56 foo6 ("a", 0, NULL, 1, 2, 3, 4, 5); in bar() 57 foo6 ("a", 0, 1, 2, 3, 4, 5); /* { dg-warning "missing sentinel" "sentinel" } */ in bar() [all …]
|
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/gcc.dg/format/ |
H A D | sentinel-1.c | 22 extern void foo6 (const char *, ...) __attribute__ ((__sentinel__(5))); 49 foo6 ("a", 1, NULL); /* { dg-warning "not enough" "sentinel" } */ in bar() 50 foo6 ("a", 1, NULL, 2); /* { dg-warning "not enough" "sentinel" } */ in bar() 51 foo6 ("a", 1, NULL, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 52 foo6 ("a", NULL, 1, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 53 foo6 ("a", NULL, 1, 2, 3, 4); /* { dg-warning "not enough" "sentinel" } */ in bar() 54 foo6 (NULL, 1, 2, 3, 4, 5); /* { dg-warning "not enough" "sentinel" } */ in bar() 55 foo6 ("a", NULL, 1, 2, 3, 4, 5); in bar() 56 foo6 ("a", 0, NULL, 1, 2, 3, 4, 5); in bar() 57 foo6 ("a", 0, 1, 2, 3, 4, 5); /* { dg-warning "missing sentinel" "sentinel" } */ in bar() [all …]
|
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/testsuite/gcc.dg/format/ |
H A D | sentinel-1.c | 22 extern void foo6 (const char *, ...) __attribute__ ((__sentinel__(5))); 49 foo6 ("a", 1, NULL); /* { dg-warning "not enough" "sentinel" } */ in bar() 50 foo6 ("a", 1, NULL, 2); /* { dg-warning "not enough" "sentinel" } */ in bar() 51 foo6 ("a", 1, NULL, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 52 foo6 ("a", NULL, 1, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 53 foo6 ("a", NULL, 1, 2, 3, 4); /* { dg-warning "not enough" "sentinel" } */ in bar() 54 foo6 (NULL, 1, 2, 3, 4, 5); /* { dg-warning "not enough" "sentinel" } */ in bar() 55 foo6 ("a", NULL, 1, 2, 3, 4, 5); in bar() 56 foo6 ("a", 0, NULL, 1, 2, 3, 4, 5); in bar() 57 foo6 ("a", 0, 1, 2, 3, 4, 5); /* { dg-warning "missing sentinel" "sentinel" } */ in bar() [all …]
|
/dports/lang/gcc48/gcc-4.8.5/gcc/testsuite/gcc.dg/format/ |
H A D | sentinel-1.c | 22 extern void foo6 (const char *, ...) __attribute__ ((__sentinel__(5))); 49 foo6 ("a", 1, NULL); /* { dg-warning "not enough" "sentinel" } */ in bar() 50 foo6 ("a", 1, NULL, 2); /* { dg-warning "not enough" "sentinel" } */ in bar() 51 foo6 ("a", 1, NULL, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 52 foo6 ("a", NULL, 1, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 53 foo6 ("a", NULL, 1, 2, 3, 4); /* { dg-warning "not enough" "sentinel" } */ in bar() 54 foo6 (NULL, 1, 2, 3, 4, 5); /* { dg-warning "not enough" "sentinel" } */ in bar() 55 foo6 ("a", NULL, 1, 2, 3, 4, 5); in bar() 56 foo6 ("a", 0, NULL, 1, 2, 3, 4, 5); in bar() 57 foo6 ("a", 0, 1, 2, 3, 4, 5); /* { dg-warning "missing sentinel" "sentinel" } */ in bar() [all …]
|
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/gcc.dg/format/ |
H A D | sentinel-1.c | 22 extern void foo6 (const char *, ...) __attribute__ ((__sentinel__(5))); 49 foo6 ("a", 1, NULL); /* { dg-warning "not enough" "sentinel" } */ in bar() 50 foo6 ("a", 1, NULL, 2); /* { dg-warning "not enough" "sentinel" } */ in bar() 51 foo6 ("a", 1, NULL, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 52 foo6 ("a", NULL, 1, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 53 foo6 ("a", NULL, 1, 2, 3, 4); /* { dg-warning "not enough" "sentinel" } */ in bar() 54 foo6 (NULL, 1, 2, 3, 4, 5); /* { dg-warning "not enough" "sentinel" } */ in bar() 55 foo6 ("a", NULL, 1, 2, 3, 4, 5); in bar() 56 foo6 ("a", 0, NULL, 1, 2, 3, 4, 5); in bar() 57 foo6 ("a", 0, 1, 2, 3, 4, 5); /* { dg-warning "missing sentinel" "sentinel" } */ in bar() [all …]
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/format/ |
H A D | sentinel-1.c | 22 extern void foo6 (const char *, ...) __attribute__ ((__sentinel__(5))); 49 foo6 ("a", 1, NULL); /* { dg-warning "not enough" "sentinel" } */ in bar() 50 foo6 ("a", 1, NULL, 2); /* { dg-warning "not enough" "sentinel" } */ in bar() 51 foo6 ("a", 1, NULL, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 52 foo6 ("a", NULL, 1, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 53 foo6 ("a", NULL, 1, 2, 3, 4); /* { dg-warning "not enough" "sentinel" } */ in bar() 54 foo6 (NULL, 1, 2, 3, 4, 5); /* { dg-warning "not enough" "sentinel" } */ in bar() 55 foo6 ("a", NULL, 1, 2, 3, 4, 5); in bar() 56 foo6 ("a", 0, NULL, 1, 2, 3, 4, 5); in bar() 57 foo6 ("a", 0, 1, 2, 3, 4, 5); /* { dg-warning "missing sentinel" "sentinel" } */ in bar() [all …]
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/format/ |
H A D | sentinel-1.c | 22 extern void foo6 (const char *, ...) __attribute__ ((__sentinel__(5))); 49 foo6 ("a", 1, NULL); /* { dg-warning "not enough" "sentinel" } */ in bar() 50 foo6 ("a", 1, NULL, 2); /* { dg-warning "not enough" "sentinel" } */ in bar() 51 foo6 ("a", 1, NULL, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 52 foo6 ("a", NULL, 1, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 53 foo6 ("a", NULL, 1, 2, 3, 4); /* { dg-warning "not enough" "sentinel" } */ in bar() 54 foo6 (NULL, 1, 2, 3, 4, 5); /* { dg-warning "not enough" "sentinel" } */ in bar() 55 foo6 ("a", NULL, 1, 2, 3, 4, 5); in bar() 56 foo6 ("a", 0, NULL, 1, 2, 3, 4, 5); in bar() 57 foo6 ("a", 0, 1, 2, 3, 4, 5); /* { dg-warning "missing sentinel" "sentinel" } */ in bar() [all …]
|
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/gcc.dg/format/ |
H A D | sentinel-1.c | 22 extern void foo6 (const char *, ...) __attribute__ ((__sentinel__(5))); 49 foo6 ("a", 1, NULL); /* { dg-warning "not enough" "sentinel" } */ in bar() 50 foo6 ("a", 1, NULL, 2); /* { dg-warning "not enough" "sentinel" } */ in bar() 51 foo6 ("a", 1, NULL, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 52 foo6 ("a", NULL, 1, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 53 foo6 ("a", NULL, 1, 2, 3, 4); /* { dg-warning "not enough" "sentinel" } */ in bar() 54 foo6 (NULL, 1, 2, 3, 4, 5); /* { dg-warning "not enough" "sentinel" } */ in bar() 55 foo6 ("a", NULL, 1, 2, 3, 4, 5); in bar() 56 foo6 ("a", 0, NULL, 1, 2, 3, 4, 5); in bar() 57 foo6 ("a", 0, 1, 2, 3, 4, 5); /* { dg-warning "missing sentinel" "sentinel" } */ in bar() [all …]
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/format/ |
H A D | sentinel-1.c | 22 extern void foo6 (const char *, ...) __attribute__ ((__sentinel__(5))); 49 foo6 ("a", 1, NULL); /* { dg-warning "not enough" "sentinel" } */ in bar() 50 foo6 ("a", 1, NULL, 2); /* { dg-warning "not enough" "sentinel" } */ in bar() 51 foo6 ("a", 1, NULL, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 52 foo6 ("a", NULL, 1, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 53 foo6 ("a", NULL, 1, 2, 3, 4); /* { dg-warning "not enough" "sentinel" } */ in bar() 54 foo6 (NULL, 1, 2, 3, 4, 5); /* { dg-warning "not enough" "sentinel" } */ in bar() 55 foo6 ("a", NULL, 1, 2, 3, 4, 5); in bar() 56 foo6 ("a", 0, NULL, 1, 2, 3, 4, 5); in bar() 57 foo6 ("a", 0, 1, 2, 3, 4, 5); /* { dg-warning "missing sentinel" "sentinel" } */ in bar() [all …]
|
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gcc.dg/format/ |
H A D | sentinel-1.c | 22 extern void foo6 (const char *, ...) __attribute__ ((__sentinel__(5))); 49 foo6 ("a", 1, NULL); /* { dg-warning "not enough" "sentinel" } */ in bar() 50 foo6 ("a", 1, NULL, 2); /* { dg-warning "not enough" "sentinel" } */ in bar() 51 foo6 ("a", 1, NULL, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 52 foo6 ("a", NULL, 1, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 53 foo6 ("a", NULL, 1, 2, 3, 4); /* { dg-warning "not enough" "sentinel" } */ in bar() 54 foo6 (NULL, 1, 2, 3, 4, 5); /* { dg-warning "not enough" "sentinel" } */ in bar() 55 foo6 ("a", NULL, 1, 2, 3, 4, 5); in bar() 56 foo6 ("a", 0, NULL, 1, 2, 3, 4, 5); in bar() 57 foo6 ("a", 0, 1, 2, 3, 4, 5); /* { dg-warning "missing sentinel" "sentinel" } */ in bar() [all …]
|
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/gcc.dg/format/ |
H A D | sentinel-1.c | 22 extern void foo6 (const char *, ...) __attribute__ ((__sentinel__(5))); 49 foo6 ("a", 1, NULL); /* { dg-warning "not enough" "sentinel" } */ in bar() 50 foo6 ("a", 1, NULL, 2); /* { dg-warning "not enough" "sentinel" } */ in bar() 51 foo6 ("a", 1, NULL, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 52 foo6 ("a", NULL, 1, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 53 foo6 ("a", NULL, 1, 2, 3, 4); /* { dg-warning "not enough" "sentinel" } */ in bar() 54 foo6 (NULL, 1, 2, 3, 4, 5); /* { dg-warning "not enough" "sentinel" } */ in bar() 55 foo6 ("a", NULL, 1, 2, 3, 4, 5); in bar() 56 foo6 ("a", 0, NULL, 1, 2, 3, 4, 5); in bar() 57 foo6 ("a", 0, 1, 2, 3, 4, 5); /* { dg-warning "missing sentinel" "sentinel" } */ in bar() [all …]
|
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/format/ |
H A D | sentinel-1.c | 22 extern void foo6 (const char *, ...) __attribute__ ((__sentinel__(5))); 49 foo6 ("a", 1, NULL); /* { dg-warning "not enough" "sentinel" } */ in bar() 50 foo6 ("a", 1, NULL, 2); /* { dg-warning "not enough" "sentinel" } */ in bar() 51 foo6 ("a", 1, NULL, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 52 foo6 ("a", NULL, 1, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 53 foo6 ("a", NULL, 1, 2, 3, 4); /* { dg-warning "not enough" "sentinel" } */ in bar() 54 foo6 (NULL, 1, 2, 3, 4, 5); /* { dg-warning "not enough" "sentinel" } */ in bar() 55 foo6 ("a", NULL, 1, 2, 3, 4, 5); in bar() 56 foo6 ("a", 0, NULL, 1, 2, 3, 4, 5); in bar() 57 foo6 ("a", 0, 1, 2, 3, 4, 5); /* { dg-warning "missing sentinel" "sentinel" } */ in bar() [all …]
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/gcc.dg/format/ |
H A D | sentinel-1.c | 22 extern void foo6 (const char *, ...) __attribute__ ((__sentinel__(5))); 49 foo6 ("a", 1, NULL); /* { dg-warning "not enough" "sentinel" } */ in bar() 50 foo6 ("a", 1, NULL, 2); /* { dg-warning "not enough" "sentinel" } */ in bar() 51 foo6 ("a", 1, NULL, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 52 foo6 ("a", NULL, 1, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 53 foo6 ("a", NULL, 1, 2, 3, 4); /* { dg-warning "not enough" "sentinel" } */ in bar() 54 foo6 (NULL, 1, 2, 3, 4, 5); /* { dg-warning "not enough" "sentinel" } */ in bar() 55 foo6 ("a", NULL, 1, 2, 3, 4, 5); in bar() 56 foo6 ("a", 0, NULL, 1, 2, 3, 4, 5); in bar() 57 foo6 ("a", 0, 1, 2, 3, 4, 5); /* { dg-warning "missing sentinel" "sentinel" } */ in bar() [all …]
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/testsuite/gcc.dg/format/ |
H A D | sentinel-1.c | 22 extern void foo6 (const char *, ...) __attribute__ ((__sentinel__(5))); 49 foo6 ("a", 1, NULL); /* { dg-warning "not enough" "sentinel" } */ in bar() 50 foo6 ("a", 1, NULL, 2); /* { dg-warning "not enough" "sentinel" } */ in bar() 51 foo6 ("a", 1, NULL, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 52 foo6 ("a", NULL, 1, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 53 foo6 ("a", NULL, 1, 2, 3, 4); /* { dg-warning "not enough" "sentinel" } */ in bar() 54 foo6 (NULL, 1, 2, 3, 4, 5); /* { dg-warning "not enough" "sentinel" } */ in bar() 55 foo6 ("a", NULL, 1, 2, 3, 4, 5); in bar() 56 foo6 ("a", 0, NULL, 1, 2, 3, 4, 5); in bar() 57 foo6 ("a", 0, 1, 2, 3, 4, 5); /* { dg-warning "missing sentinel" "sentinel" } */ in bar() [all …]
|
/dports/lang/gcc8/gcc-8.5.0/gcc/testsuite/gcc.dg/format/ |
H A D | sentinel-1.c | 22 extern void foo6 (const char *, ...) __attribute__ ((__sentinel__(5))); 49 foo6 ("a", 1, NULL); /* { dg-warning "not enough" "sentinel" } */ in bar() 50 foo6 ("a", 1, NULL, 2); /* { dg-warning "not enough" "sentinel" } */ in bar() 51 foo6 ("a", 1, NULL, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 52 foo6 ("a", NULL, 1, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 53 foo6 ("a", NULL, 1, 2, 3, 4); /* { dg-warning "not enough" "sentinel" } */ in bar() 54 foo6 (NULL, 1, 2, 3, 4, 5); /* { dg-warning "not enough" "sentinel" } */ in bar() 55 foo6 ("a", NULL, 1, 2, 3, 4, 5); in bar() 56 foo6 ("a", 0, NULL, 1, 2, 3, 4, 5); in bar() 57 foo6 ("a", 0, 1, 2, 3, 4, 5); /* { dg-warning "missing sentinel" "sentinel" } */ in bar() [all …]
|
/dports/lang/gnat_util/gcc-6-20180516/gcc/testsuite/gcc.dg/format/ |
H A D | sentinel-1.c | 22 extern void foo6 (const char *, ...) __attribute__ ((__sentinel__(5))); 49 foo6 ("a", 1, NULL); /* { dg-warning "not enough" "sentinel" } */ in bar() 50 foo6 ("a", 1, NULL, 2); /* { dg-warning "not enough" "sentinel" } */ in bar() 51 foo6 ("a", 1, NULL, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 52 foo6 ("a", NULL, 1, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 53 foo6 ("a", NULL, 1, 2, 3, 4); /* { dg-warning "not enough" "sentinel" } */ in bar() 54 foo6 (NULL, 1, 2, 3, 4, 5); /* { dg-warning "not enough" "sentinel" } */ in bar() 55 foo6 ("a", NULL, 1, 2, 3, 4, 5); in bar() 56 foo6 ("a", 0, NULL, 1, 2, 3, 4, 5); in bar() 57 foo6 ("a", 0, 1, 2, 3, 4, 5); /* { dg-warning "missing sentinel" "sentinel" } */ in bar() [all …]
|
/dports/lang/gcc10-devel/gcc-10-20211008/gcc/testsuite/gcc.dg/format/ |
H A D | sentinel-1.c | 22 extern void foo6 (const char *, ...) __attribute__ ((__sentinel__(5))); 49 foo6 ("a", 1, NULL); /* { dg-warning "not enough" "sentinel" } */ in bar() 50 foo6 ("a", 1, NULL, 2); /* { dg-warning "not enough" "sentinel" } */ in bar() 51 foo6 ("a", 1, NULL, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 52 foo6 ("a", NULL, 1, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 53 foo6 ("a", NULL, 1, 2, 3, 4); /* { dg-warning "not enough" "sentinel" } */ in bar() 54 foo6 (NULL, 1, 2, 3, 4, 5); /* { dg-warning "not enough" "sentinel" } */ in bar() 55 foo6 ("a", NULL, 1, 2, 3, 4, 5); in bar() 56 foo6 ("a", 0, NULL, 1, 2, 3, 4, 5); in bar() 57 foo6 ("a", 0, 1, 2, 3, 4, 5); /* { dg-warning "missing sentinel" "sentinel" } */ in bar() [all …]
|
/dports/devel/mingw32-gcc/gcc-4.8.1/gcc/testsuite/gcc.dg/format/ |
H A D | sentinel-1.c | 22 extern void foo6 (const char *, ...) __attribute__ ((__sentinel__(5))); 49 foo6 ("a", 1, NULL); /* { dg-warning "not enough" "sentinel" } */ in bar() 50 foo6 ("a", 1, NULL, 2); /* { dg-warning "not enough" "sentinel" } */ in bar() 51 foo6 ("a", 1, NULL, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 52 foo6 ("a", NULL, 1, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 53 foo6 ("a", NULL, 1, 2, 3, 4); /* { dg-warning "not enough" "sentinel" } */ in bar() 54 foo6 (NULL, 1, 2, 3, 4, 5); /* { dg-warning "not enough" "sentinel" } */ in bar() 55 foo6 ("a", NULL, 1, 2, 3, 4, 5); in bar() 56 foo6 ("a", 0, NULL, 1, 2, 3, 4, 5); in bar() 57 foo6 ("a", 0, 1, 2, 3, 4, 5); /* { dg-warning "missing sentinel" "sentinel" } */ in bar() [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gcc.dg/format/ |
H A D | sentinel-1.c | 22 extern void foo6 (const char *, ...) __attribute__ ((__sentinel__(5))); 49 foo6 ("a", 1, NULL); /* { dg-warning "not enough" "sentinel" } */ in bar() 50 foo6 ("a", 1, NULL, 2); /* { dg-warning "not enough" "sentinel" } */ in bar() 51 foo6 ("a", 1, NULL, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 52 foo6 ("a", NULL, 1, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 53 foo6 ("a", NULL, 1, 2, 3, 4); /* { dg-warning "not enough" "sentinel" } */ in bar() 54 foo6 (NULL, 1, 2, 3, 4, 5); /* { dg-warning "not enough" "sentinel" } */ in bar() 55 foo6 ("a", NULL, 1, 2, 3, 4, 5); in bar() 56 foo6 ("a", 0, NULL, 1, 2, 3, 4, 5); in bar() 57 foo6 ("a", 0, 1, 2, 3, 4, 5); /* { dg-warning "missing sentinel" "sentinel" } */ in bar() [all …]
|
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/testsuite/gcc.dg/format/ |
H A D | sentinel-1.c | 22 extern void foo6 (const char *, ...) __attribute__ ((__sentinel__(5))); 49 foo6 ("a", 1, NULL); /* { dg-warning "not enough" "sentinel" } */ in bar() 50 foo6 ("a", 1, NULL, 2); /* { dg-warning "not enough" "sentinel" } */ in bar() 51 foo6 ("a", 1, NULL, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 52 foo6 ("a", NULL, 1, 2, 3); /* { dg-warning "not enough" "sentinel" } */ in bar() 53 foo6 ("a", NULL, 1, 2, 3, 4); /* { dg-warning "not enough" "sentinel" } */ in bar() 54 foo6 (NULL, 1, 2, 3, 4, 5); /* { dg-warning "not enough" "sentinel" } */ in bar() 55 foo6 ("a", NULL, 1, 2, 3, 4, 5); in bar() 56 foo6 ("a", 0, NULL, 1, 2, 3, 4, 5); in bar() 57 foo6 ("a", 0, 1, 2, 3, 4, 5); /* { dg-warning "missing sentinel" "sentinel" } */ in bar() [all …]
|
/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/gcc.dg/cpp/ |
H A D | poison.c | 12 #define foo6 123 macro 13 #pragma GCC poison foo6 /* { dg-warning "foo6" "poison defined macro" } */ 14 #define foo6 345 /* { dg-error "foo6" "def of foo6" } */ macro 15 #define foo6 456 /* { dg-error "foo6" "redef of foo6" } */ macro 16 #ifdef foo6 /* { dg-error "foo6" "#ifdef foo6" } */ 17 #error hey! foo6 defined! 19 #if defined(foo6) /* { dg-error "foo6" "#if defined foo6" } */ 20 #error foo6 still defined! 22 foo6 /* { dg-error "foo6" "use of foo6" } */
|
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gcc.dg/cpp/ |
H A D | poison.c | 12 #define foo6 123 macro 13 #pragma GCC poison foo6 /* { dg-warning "foo6" "poison defined macro" } */ 14 #define foo6 345 /* { dg-error "foo6" "def of foo6" } */ macro 15 #define foo6 456 /* { dg-error "foo6" "redef of foo6" } */ macro 16 #ifdef foo6 /* { dg-error "foo6" "#ifdef foo6" } */ 17 #error hey! foo6 defined! 19 #if defined(foo6) /* { dg-error "foo6" "#if defined foo6" } */ 20 #error foo6 still defined! 22 foo6 /* { dg-error "foo6" "use of foo6" } */
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/gcc.dg/cpp/ |
H A D | poison.c | 12 #define foo6 123 macro 13 #pragma GCC poison foo6 /* { dg-warning "foo6" "poison defined macro" } */ 14 #define foo6 345 /* { dg-error "foo6" "def of foo6" } */ macro 15 #define foo6 456 /* { dg-error "foo6" "redef of foo6" } */ macro 16 #ifdef foo6 /* { dg-error "foo6" "#ifdef foo6" } */ 17 #error hey! foo6 defined! 19 #if defined(foo6) /* { dg-error "foo6" "#if defined foo6" } */ 20 #error foo6 still defined! 22 foo6 /* { dg-error "foo6" "use of foo6" } */
|