/dports/lang/gcc6-aux/gcc-6-20180516/gcc/testsuite/objc.dg/attributes/ |
H A D | method-format-1.m | 12 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 15 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 16 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 19 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 20 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */ 23 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */
|
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/testsuite/obj-c++.dg/attributes/ |
H A D | method-format-1.mm | 12 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 15 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 16 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 19 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 20 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */ 23 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */
|
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/obj-c++.dg/attributes/ |
H A D | method-format-1.mm | 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 14 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 16 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 17 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 20 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 23 …ribute__ ((format (printf, 1, 2))); /* { dg-error "does not refer to a variable argument list" } */ 24 …ribute__ ((format (printf, 1, 2))); /* { dg-error "does not refer to a variable argument list" } */
|
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/objc.dg/attributes/ |
H A D | method-format-1.m | 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 14 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 16 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 17 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 20 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 23 …ribute__ ((format (printf, 1, 2))); /* { dg-error "does not refer to a variable argument list" } */ 24 …ribute__ ((format (printf, 1, 2))); /* { dg-error "does not refer to a variable argument list" } */
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/objc.dg/attributes/ |
H A D | method-format-1.m | 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 14 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 16 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 17 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 20 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 23 …ribute__ ((format (printf, 1, 2))); /* { dg-error "does not refer to a variable argument list" } */ 24 …ribute__ ((format (printf, 1, 2))); /* { dg-error "does not refer to a variable argument list" } */
|
/dports/lang/gcc8/gcc-8.5.0/gcc/testsuite/obj-c++.dg/attributes/ |
H A D | method-format-1.mm | 12 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 15 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 16 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 19 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 20 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */ 23 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */
|
/dports/lang/gcc8/gcc-8.5.0/gcc/testsuite/objc.dg/attributes/ |
H A D | method-format-1.m | 12 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 15 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 16 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 19 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 20 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */ 23 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */
|
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/objc.dg/attributes/ |
H A D | method-nonnull-1.m | 13 - (void) addObject: (id)object __attribute__ ((nonnull)); 15 + (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1))); 16 - (void) insertObject: (id)object atIndex: (size_t)index __attribute__ ((nonnull (1))); 19 …ndex andObject: (id)anotherObject atIndex: (size_t)anotherIndex __attribute__ ((nonnull (1, 3))); 22 + (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-warning "does not refer to… 23 - (void) removeObject: (id)object __attribute__ ((nonnull (0))); /* { dg-warning "does not refer to… 25 + (void) removeObject: (id)object __attribute__ ((nonnull (2))); /* { dg-warning "exceeds the numbe…
|
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/obj-c++.dg/attributes/ |
H A D | method-format-1.mm | 12 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 15 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 16 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 19 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 20 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ribute__ ((format (printf, 1, 2))); /* { dg-error "does not refer to a variable argument list" } */ 23 …ribute__ ((format (printf, 1, 2))); /* { dg-error "does not refer to a variable argument list" } */
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/obj-c++.dg/attributes/ |
H A D | method-format-1.mm | 12 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 15 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 16 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 19 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 20 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */ 23 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/objc.dg/attributes/ |
H A D | method-format-1.m | 12 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 15 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 16 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 19 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 20 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */ 23 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/obj-c++.dg/attributes/ |
H A D | method-format-1.mm | 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 14 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 16 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 17 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 20 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 23 …ribute__ ((format (printf, 1, 2))); /* { dg-error "does not refer to a variable argument list" } */ 24 …ribute__ ((format (printf, 1, 2))); /* { dg-error "does not refer to a variable argument list" } */
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/obj-c++.dg/attributes/ |
H A D | method-format-1.mm | 12 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 15 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 16 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 19 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 20 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */ 23 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/objc.dg/attributes/ |
H A D | method-format-1.m | 12 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 15 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 16 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 19 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 20 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */ 23 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */
|
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/objc.dg/attributes/ |
H A D | method-format-1.m | 12 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 15 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 16 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 19 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 20 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ribute__ ((format (printf, 1, 2))); /* { dg-error "does not refer to a variable argument list" } */ 23 …ribute__ ((format (printf, 1, 2))); /* { dg-error "does not refer to a variable argument list" } */
|
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/testsuite/obj-c++.dg/attributes/ |
H A D | method-format-1.mm | 12 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 15 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 16 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 19 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 20 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */ 23 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */
|
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/testsuite/objc.dg/attributes/ |
H A D | method-format-1.m | 12 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 15 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 16 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 19 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 20 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */ 23 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */
|
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/obj-c++.dg/attributes/ |
H A D | method-format-1.mm | 12 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 15 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 16 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 19 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 20 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ribute__ ((format (printf, 1, 2))); /* { dg-error "does not refer to a variable argument list" } */ 23 …ribute__ ((format (printf, 1, 2))); /* { dg-error "does not refer to a variable argument list" } */
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/objc.dg/attributes/ |
H A D | method-format-1.m | 12 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 15 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 16 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 19 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 20 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */ 23 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/obj-c++.dg/attributes/ |
H A D | method-format-1.mm | 12 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 15 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 16 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 19 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 20 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */ 23 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */
|
/dports/lang/gcc48/gcc-4.8.5/gcc/testsuite/objc.dg/attributes/ |
H A D | method-format-1.m | 12 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 15 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 16 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 19 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 20 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */ 23 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */
|
/dports/lang/gcc48/gcc-4.8.5/gcc/testsuite/obj-c++.dg/attributes/ |
H A D | method-format-1.mm | 12 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 15 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 16 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 19 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 20 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */ 23 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */
|
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/objc.dg/attributes/ |
H A D | method-format-1.m | 12 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 15 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 16 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 19 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 20 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ribute__ ((format (printf, 1, 2))); /* { dg-error "does not refer to a variable argument list" } */ 23 …ribute__ ((format (printf, 1, 2))); /* { dg-error "does not refer to a variable argument list" } */
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/obj-c++.dg/attributes/ |
H A D | method-format-1.mm | 12 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 15 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 16 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 19 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 20 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */ 23 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/objc.dg/attributes/ |
H A D | method-format-1.m | 12 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 13 …) log: (int)level message: (const char *) my_format, ... __attribute__ ((format (printf, 2, 3))); 15 + (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 16 - (void) debug: (const char *) my_format, ... __attribute__ ((format (printf, 1, 2))); 19 … (const char *) my_format, ... __attribute__ ((format (printf, 2))); /* { dg-error "wrong" } */ 20 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 21 …ebug2: (const char *) my_format, ... __attribute__ ((format (printf))); /* { dg-error "wrong" } */ 22 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */ 23 …ormat __attribute__ ((format (printf, 1, 2))); /* { dg-error "args to be formatted is not ..." } */
|