gcc/testsuite/objc.dg/gnu-runtime-3.m
raw| 1 | /* Sanity check for GNU-runtime regardless of runtime used on target system. */ |
| 2 | |
| 3 | /* { dg-do run } */ |
| 4 | /* { dg-skip-if "" { *-*-* } { "-fnext-runtime" } { "" } } */ |
| 5 | |
| 6 | #include "../objc-obj-c++-shared/TestsuiteObject.m" |
| 7 | #include <string.h> |
| 8 | #include <stdlib.h> |
| 9 | |
| 10 | int main(int argc, void **args) |
| 11 | { |
| 12 | [TestsuiteObject new]; |
| 13 | return 0; |
| 14 | } |