1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s -verify -rewrite-macros -o %t 2*f4a2713aSLionel Sambuc // RUN: FileCheck %s < %t 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc // Any CHECK line comments are included in the output, so we use some extra 5*f4a2713aSLionel Sambuc // regex brackets to make sure we don't match the CHECK lines themselves. 6*f4a2713aSLionel Sambuc 7*f4a2713aSLionel Sambuc #define A(a,b) a ## b 8*f4a2713aSLionel Sambuc 9*f4a2713aSLionel Sambuc // CHECK: {{^}} 12 /*A*/ /*(1,2)*/{{$}} 10*f4a2713aSLionel Sambuc A(1,2) 11*f4a2713aSLionel Sambuc 12*f4a2713aSLionel Sambuc // CHECK: {{^}} /*_Pragma("mark")*/{{$}} 13*f4a2713aSLionel Sambuc _Pragma("mark") 14*f4a2713aSLionel Sambuc 15*f4a2713aSLionel Sambuc // CHECK: /*#warning eek*/{{$}} 16*f4a2713aSLionel Sambuc /* expected-warning {{eek}} */ #warning eek 17*f4a2713aSLionel Sambuc 18*f4a2713aSLionel Sambuc // CHECK: {{^}}//#pragma mark mark{{$}} 19*f4a2713aSLionel Sambuc #pragma mark mark 20