summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2008-10-13-FrontendCrash.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/2008-10-13-FrontendCrash.c')
-rw-r--r--clang/test/CodeGen/2008-10-13-FrontendCrash.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/CodeGen/2008-10-13-FrontendCrash.c b/clang/test/CodeGen/2008-10-13-FrontendCrash.c
new file mode 100644
index 0000000..cdd1229
--- /dev/null
+++ b/clang/test/CodeGen/2008-10-13-FrontendCrash.c
@@ -0,0 +1,9 @@
+// RUN: %clang_cc1 %s -emit-llvm -o -
+// PR2797
+
+unsigned int
+func_48 (signed char p_49)
+{
+ signed char l_340;
+ func_44 (1&((1 ^ 1 == (lshift_u_s (1)) != (l_340 < 1)) & 1L));
+}