Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Preprocessor / c90.c
blob3b9105fe6ee91b6bf6480affa7003e96a668e45f
1 /* RUN: %clang_cc1 %s -std=c89 -Eonly -verify -pedantic-errors
2 * RUN: %clang_cc1 %s -std=c89 -E | FileCheck %s
3 */
5 /* PR3919 */
7 #define foo`bar /* expected-error {{whitespace required after macro name}} */
8 #define foo2!bar /* expected-warning {{whitespace recommended after macro name}} */
10 #define foo3$bar /* expected-error {{'$' in identifier}} */
12 /* CHECK-NOT: this comment should be missing
13 * CHECK: {{^}}// this comment should be present{{$}}
15 // this comment should be present