blob: e5fd52926eeef191265a149a2050ade8e02643c2 [file] [log] [blame]
Daniel Dunbard7d5f022009-03-24 02:24:46 +00001// RUN: clang-cc %s -fsyntax-only
Nuno Lopes0049db62008-06-01 18:31:24 +00002
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
14typedef void ff();
15typedef struct { ff *a;} S;
16
17S 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
24static void FUNC_H(){};
25#undef FUNC_H
26
27#endif