aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-08-23 18:26:10 +0000
committerDevang Patel <dpatel@apple.com>2010-08-23 18:26:10 +0000
commite5848d680c8abc5c76f37b7149b349603db94ce0 (patch)
tree8b2f660e1e39d09cb49a3a9dbffdb75fa3874611
parent2ccccb3ff40c64927817a7e1ddf1da8c188ed224 (diff)
test case for PR7920.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111821 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGenCXX/debug-info.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGenCXX/debug-info.cpp b/test/CodeGenCXX/debug-info.cpp
index 6bb9533a47..71c8603a9f 100644
--- a/test/CodeGenCXX/debug-info.cpp
+++ b/test/CodeGenCXX/debug-info.cpp
@@ -50,3 +50,8 @@ namespace VirtualBase {
B b;
}
}
+
+void foo() {
+ const wchar_t c = L'x';
+ wchar_t d = c;
+}