brintos

brintos / llvm-project-archived public Read only

0
0
Text · 494 B · 759afb0 Raw
20 lines · c
1// RUN: %clang_cc1 %s -verify -rewrite-macros -o %t2// RUN: FileCheck %s < %t3 4// Any CHECK line comments are included in the output, so we use some extra5// regex brackets to make sure we don't match the CHECK lines themselves.6 7#define A(a,b) a ## b8 9// CHECK: {{^}} 12 /*A*/ /*(1,2)*/{{$}}10A(1,2)11 12// CHECK: {{^}} /*_Pragma("mark")*/{{$}}13_Pragma("mark")14 15// CHECK: /*#warning eek*/{{$}}16/* expected-warning {{eek}} */ #warning eek17 18// CHECK: {{^}}//#pragma mark mark{{$}}19#pragma mark mark20