This is a better way of ensuring that we match the output of the
rewriter and not the CHECK line.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179308
91177308-0d34-0410-b5e6-
96231b3b80d8
#define A(a,b) a ## b
-// CHECK: 12{{ *}}/*A*/ /*(1,2)*/
+// CHECK: {{^}} 12 /*A*/ /*(1,2)*/{{$}}
A(1,2)
-// CHECK: /*_Pragma("{{mark}}")*/
+// CHECK: {{^}} /*_Pragma("mark")*/{{$}}
_Pragma("mark")
-// CHECK: /*#warning {{eek}}*/
+// CHECK: /*#warning eek*/{{$}}
/* expected-warning {{eek}} */ #warning eek
-// CHECK: //#pragma mark {{mark}}
+// CHECK: {{^}}//#pragma mark mark{{$}}
#pragma mark mark