]> granicus.if.org Git - clang/commitdiff
Added missing test.
authorAbramo Bagnara <abramo.bagnara@gmail.com>
Wed, 5 Sep 2012 18:06:49 +0000 (18:06 +0000)
committerAbramo Bagnara <abramo.bagnara@gmail.com>
Wed, 5 Sep 2012 18:06:49 +0000 (18:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163226 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/no-wchar.cpp [new file with mode: 0644]

diff --git a/test/SemaCXX/no-wchar.cpp b/test/SemaCXX/no-wchar.cpp
new file mode 100644 (file)
index 0000000..b4ec2ed
--- /dev/null
@@ -0,0 +1,2 @@
+// RUN: %clang_cc1 -fsyntax-only -fno-wchar -verify %s
+wchar_t x; // expected-error {{unknown type name 'wchar_t'}}