summaryrefslogtreecommitdiff
path: root/clang/test/Preprocessor/c90.c
blob: 1d5010d75e34e1e579ce135f83cc344c94676829 (about) (plain)
1
2
3
4
5
6
7
8
9
10
/* RUN: %clang_cc1 %s -std=c89 -Eonly -verify -pedantic-errors 
 */

/* PR3919 */

#define foo`bar   /* expected-error {{whitespace required after macro name}} */
#define foo2!bar  /* expected-warning {{whitespace recommended after macro name}} */

#define foo3$bar  /* expected-error {{'$' in identifier}} */