1 // RUN: %clang_cc1 %s -fsyntax-only 2 3 #ifndef XVID_AUTO_INCLUDE 4 5 #define XVID_AUTO_INCLUDE 6 #define FUNC_H H_Pass_16_C 7 #include "multiple-include.c" 8 9 #define FUNC_H H_Pass_8_C 10 11 #include "multiple-include.c" 12 #undef XVID_AUTO_INCLUDE 13 14 typedef void ff(); 15 typedef struct { ff *a;} S; 16 17 S s = { H_Pass_8_C }; 18 19 #endif 20 21 #if defined(XVID_AUTO_INCLUDE) && defined(REFERENCE_CODE) 22 #elif defined(XVID_AUTO_INCLUDE) && !defined(REFERENCE_CODE) 23 FUNC_H()24static void FUNC_H(){}; 25 #undef FUNC_H 26 27 #endif 28