llvm-for-llvmta/tools/clang/test/Preprocessor/stringize_skipped.c

6 lines
211 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -fsyntax-only -verify %s
// Ensure we see the error from PP and do not see errors from the parser.
// expected-error@+1{{'#' is not followed by a macro parameter}}
#define INVALID() #B 10+10