forked from OSchip/llvm-project
[test] Fix test failure in Clang :: Lexer/char-escapes-delimited.c
Specify the C and C++ standards explicitly for this test. This avoids failures for drivers that default to older standards. Differential Revision: https://reviews.llvm.org/D109857
This commit is contained in:
parent
f670c5aeee
commit
003fed8269
|
@ -1,7 +1,7 @@
|
|||
// RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s
|
||||
// RUN: %clang_cc1 -x c -fsyntax-only -pedantic -verify %s
|
||||
// RUN: %clang_cc1 -fwchar-type=short -fno-signed-wchar -fsyntax-only -pedantic -verify %s
|
||||
// RUN: %clang_cc1 -x c -fwchar-type=short -fno-signed-wchar -fsyntax-only -pedantic -verify %s
|
||||
// RUN: %clang_cc1 -x c++ -std=gnu++11 -fsyntax-only -pedantic -verify %s
|
||||
// RUN: %clang_cc1 -x c -std=gnu11 -fsyntax-only -pedantic -verify %s
|
||||
// RUN: %clang_cc1 -x c++ -std=gnu++11 -fwchar-type=short -fno-signed-wchar -fsyntax-only -pedantic -verify %s
|
||||
// RUN: %clang_cc1 -x c -std=gnu11 -fwchar-type=short -fno-signed-wchar -fsyntax-only -pedantic -verify %s
|
||||
|
||||
const char *errors =
|
||||
"\u{}" //expected-error {{delimited escape sequence cannot be empty}}
|
||||
|
|
Loading…
Reference in New Issue