]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Preprocessor/c90.c
Vendor import of clang trunk r154661:
[FreeBSD/FreeBSD.git] / test / Preprocessor / c90.c
1 /* RUN: %clang_cc1 %s -std=c89 -Eonly -verify -pedantic-errors 
2  */
3
4 /* PR3919 */
5
6 #define foo`bar   /* expected-error {{whitespace required after macro name}} */
7 #define foo2!bar  /* expected-warning {{whitespace recommended after macro name}} */
8
9 #define foo3$bar  /* expected-error {{'$' in identifier}} */
10