1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -E %s -fno-caret-diagnostics 2>&1 >/dev/null | grep 'file successfully included' | count 3 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc // XX expands to nothing. 4*f4a2713aSLionel Sambuc #define XX 5*f4a2713aSLionel Sambuc 6*f4a2713aSLionel Sambuc // expand macros to get to file to include 7*f4a2713aSLionel Sambuc #define FILE "file_to_include.h" 8*f4a2713aSLionel Sambuc #include XX FILE 9*f4a2713aSLionel Sambuc 10*f4a2713aSLionel Sambuc #include FILE 11*f4a2713aSLionel Sambuc 12*f4a2713aSLionel Sambuc // normal include 13*f4a2713aSLionel Sambuc #include "file_to_include.h" 14*f4a2713aSLionel Sambuc 15