1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -D FOOBAR="\"\"" %s -emit-pch -o %t.pch 2*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -D FOOBAR="\"\"" %s -include-pch %t.pch 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc // rdar://11418366 5*f4a2713aSLionel Sambuc 6*f4a2713aSLionel Sambuc #ifndef HEADER 7*f4a2713aSLionel Sambuc #define HEADER 8*f4a2713aSLionel Sambuc 9*f4a2713aSLionel Sambuc extern int printf(const char *restrict, ...); 10*f4a2713aSLionel Sambuc #define LOG printf(FOOBAR "%f", __LINE__) 11*f4a2713aSLionel Sambuc 12*f4a2713aSLionel Sambuc #else 13*f4a2713aSLionel Sambuc foo()14*f4a2713aSLionel Sambucvoid foo() { 15*f4a2713aSLionel Sambuc LOG; 16*f4a2713aSLionel Sambuc } 17*f4a2713aSLionel Sambuc 18*f4a2713aSLionel Sambuc #endif 19