Imported Upstream version 2.8.12.2
[platform/upstream/cmake.git] / Tests / CompileDefinitions / compiletest_mixed_c.c
1
2 #ifndef LINK_CXX_DEFINE
3 #error Expected LINK_CXX_DEFINE
4 #endif
5 #ifndef LINK_LANGUAGE_IS_CXX
6 #error Expected LINK_LANGUAGE_IS_CXX
7 #endif
8
9 #ifdef LINK_C_DEFINE
10 #error Unexpected LINK_C_DEFINE
11 #endif
12 #ifdef LINK_LANGUAGE_IS_C
13 #error Unexpected LINK_LANGUAGE_IS_C
14 #endif
15
16 #ifndef C_EXECUTABLE_LINK_LANGUAGE_IS_C
17 #error Expected C_EXECUTABLE_LINK_LANGUAGE_IS_C define
18 #endif
19
20 void someFunc(void)
21 {
22
23 }