2009-03-24 10:24:46 +08:00
|
|
|
// RUN: clang-cc -verify --rewrite-macros -o %t %s &&
|
2008-10-05 09:39:04 +08:00
|
|
|
|
|
|
|
#define A(a,b) a ## b
|
|
|
|
|
|
|
|
// RUN: grep '12 */\*A\*/ /\*(1,2)\*/' %t &&
|
|
|
|
A(1,2)
|
|
|
|
|
|
|
|
// RUN: grep '/\*_Pragma("mark")\*/' %t &&
|
|
|
|
_Pragma("mark")
|
|
|
|
|
|
|
|
// RUN: grep "//#warning eek" %t &&
|
|
|
|
/* expected-warning {{#warning eek}} */ #warning eek
|
|
|
|
|
|
|
|
// RUN: grep "//#pragma mark mark" %t &&
|
|
|
|
#pragma mark mark
|
|
|
|
|
|
|
|
// RUN: true
|
|
|
|
|