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