]> granicus.if.org Git - clang/commitdiff
test case for r122971.
authorDevang Patel <dpatel@apple.com>
Thu, 6 Jan 2011 21:40:22 +0000 (21:40 +0000)
committerDevang Patel <dpatel@apple.com>
Thu, 6 Jan 2011 21:40:22 +0000 (21:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122972 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/debug-info-large-constant.cpp [new file with mode: 0644]

diff --git a/test/CodeGenCXX/debug-info-large-constant.cpp b/test/CodeGenCXX/debug-info-large-constant.cpp
new file mode 100644 (file)
index 0000000..43f0463
--- /dev/null
@@ -0,0 +1,8 @@
+// RUN: %clang_cc1 -g %s -o /dev/null
+// PR 8913
+
+typedef __uint128_t word128;
+static const word128 m126 = 0xffffffffffffffffULL;
+word128 foo() {
+  return m126;
+}