[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / SemaCXX / pascal-strings.cpp
blobf4c692db58f64b4f7177bc6b089a03d79a8b9a5d
1 // RUN: %clang_cc1 -fsyntax-only -verify %s -fpascal-strings
2 const wchar_t *pascalString = L"\pThis is a Pascal string";
4 unsigned char a[3] = "\pa";
5 unsigned char b[3] = "\pab";
6 unsigned char c[3] = "\pabc"; // expected-error {{initializer-string for char array is too long}}
7 unsigned char d[3] = ("\pab");
8 unsigned char e[3] = ("\pabc"); // expected-error {{initializer-string for char array is too long}}