diff options
Diffstat (limited to 'clang/test/Sema/implicit-def.c')
-rw-r--r-- | clang/test/Sema/implicit-def.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Sema/implicit-def.c b/clang/test/Sema/implicit-def.c new file mode 100644 index 0000000..6caa090 --- /dev/null +++ b/clang/test/Sema/implicit-def.c @@ -0,0 +1,8 @@ +/* RUN: %clang_cc1 -fsyntax-only %s -std=c89 + * RUN: not %clang_cc1 -fsyntax-only %s -std=c99 -pedantic-errors + */ + +int A() { + return X(); +} + |