llvm-project/clang/test/Preprocessor/user_defined_system_framework.c
Daniel Dunbar 3c9bc4dbdb [Lex] Add support for 'user specified system frameworks' (see test case).
- Developers of system frameworks need a way for their framework to be treated as a "system framework" during development. Otherwise, they are unable to properly test how their framework behaves when installed because of the semantic changes (in warning behavior) applied to system frameworks.

llvm-svn: 154105
2012-04-05 17:10:06 +00:00

9 lines
257 B
C

// 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);
}