mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-20 20:15:49 -04:00

These calls are usually guarded by checks for isAnnotation() but it looks like we missed a spot. This would cause the included test to crash clang. llvm-svn: 232616
9 lines
239 B
C
9 lines
239 B
C
// RUN: %clang_cc1 -verify %s
|
|
#define M1() // expected-note{{macro 'M1' defined here}}
|
|
|
|
M1( // expected-error{{unterminated function-like macro invocation}}
|
|
|
|
#if M1() // expected-error{{expected value in expression}}
|
|
#endif
|
|
#pragma pack()
|