1/* RUN: %clang_cc1 %s -std=c89 -Eonly -verify -pedantic-errors
2 * RUN: %clang_cc1 %s -std=c89 -E | FileCheck %s
3 */
4
5/* PR3919 */
6
7#define foo`bar   /* expected-error {{whitespace required after macro name}} */
8#define foo2!bar  /* expected-warning {{whitespace recommended after macro name}} */
9
10#define foo3$bar  /* expected-error {{'$' in identifier}} */
11
12/* CHECK-NOT: this comment should be missing
13 * CHECK: {{^}}// this comment should be present{{$}}
14 */
15// this comment should be present
16