summaryrefslogtreecommitdiff
path: root/test/Lexer/pragma-mark.c
blob: e58b2267ddbcebd45cc6497176cf135b122eeee8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %clang_cc1 %s -fsyntax-only -verify
// expected-no-diagnostics

// Lexer diagnostics shouldn't be included in #pragma mark.
#pragma mark Mike's world
_Pragma("mark foo ' bar")

#define X(S) _Pragma(S)
X("mark foo ' bar")

int i;