diff options
Diffstat (limited to 'clang/test/Preprocessor/user_defined_system_framework.c')
-rw-r--r-- | clang/test/Preprocessor/user_defined_system_framework.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/user_defined_system_framework.c b/clang/test/Preprocessor/user_defined_system_framework.c new file mode 100644 index 0000000..8e3db56 --- /dev/null +++ b/clang/test/Preprocessor/user_defined_system_framework.c @@ -0,0 +1,8 @@ +// RUN: %clang -cc1 -fsyntax-only -F %S/Inputs -Wsign-conversion -verify %s + +// Check that TestFramework is treated as a system header. +#include <TestFramework/TestFramework.h> + +int f1() { + return test_framework_func(1) + another_test_framework_func(2); +} |