commit | 68f76b112cb50b6dd6cf6935680bc8f242f43441 | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Sat Sep 10 00:44:49 2011 +0000 |
committer | Devang Patel <dpatel@apple.com> | Sat Sep 10 00:44:49 2011 +0000 |
tree | 662cce8cf2573354d26830fd78b4d256df29b681 | |
parent | 02a5e875cca1ce2f471dad06fb5557346d99c164 [diff] [blame] |
Emit debug info for wchar_t. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139443 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenCXX/debug-info-wchar.cpp b/test/CodeGenCXX/debug-info-wchar.cpp new file mode 100644 index 0000000..6f53849 --- /dev/null +++ b/test/CodeGenCXX/debug-info-wchar.cpp
@@ -0,0 +1,5 @@ +// RUN: %clang_cc1 -emit-llvm -g %s -o -| FileCheck %s +void foo() { +// CHECK: metadata !"wchar_t", + const wchar_t w = L'x'; +}