blob: 0e78b38040d4cc864b79babeb1192363cba6c489 [file] [log] [blame]
Chris Lattner72650ad2009-02-04 19:38:12 +00001// RUN: clang -E %s -fno-caret-diagnostics 2>&1 >/dev/null | grep 'file successfully included' | count 4
2
3// XX expands to nothing.
4#define XX
5
6// expand macros to get to file to include
7#define FILE "file_to_include.h"
8#include XX FILE
9
10#include FILE
11
12// normal include
13#include "file_to_include.h"
14
15// Expand and paste angled strings.
16# define HEADER <file_to_include.h>
17# include HEADER
18