mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-05 08:58:30 +00:00
Add raw string literal versus C preprocessor test, suggested by James Dennett.
llvm-svn: 172660
This commit is contained in:
parent
d77d9fb04d
commit
e826c1a134
9
clang/test/Lexer/cxx0x_raw_string_directives.cpp
Normal file
9
clang/test/Lexer/cxx0x_raw_string_directives.cpp
Normal file
@ -0,0 +1,9 @@
|
||||
// RUN: %clang_cc1 -std=c++11 -fsyntax-only %s
|
||||
// RUN: %clang_cc1 -std=c++98 -fsyntax-only -verify %s
|
||||
|
||||
// expected-error@8 {{in c++98 only}}
|
||||
#if 0
|
||||
R"(
|
||||
#else
|
||||
#error in c++98 only)"
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user