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