[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git] / test / Lexer / multiple-include.c
blobd737f95db271c89d948375631b44f3b10011a92d
1 // RUN: %clang_cc1 %s -fsyntax-only
3 #ifndef XVID_AUTO_INCLUDE
5 #define XVID_AUTO_INCLUDE
6 #define FUNC_H H_Pass_16_C
7 #include "multiple-include.c"
9 #define FUNC_H H_Pass_8_C
11 #include "multiple-include.c"
12 #undef XVID_AUTO_INCLUDE
14 typedef void ff();
15 typedef struct { ff *a;} S;
17 S s = { H_Pass_8_C };
19 #endif
21 #if defined(XVID_AUTO_INCLUDE) && defined(REFERENCE_CODE)
22 #elif defined(XVID_AUTO_INCLUDE) && !defined(REFERENCE_CODE)
24 static void FUNC_H(){};
25 #undef FUNC_H
27 #endif