diff options
author | Chris Lattner <sabre@nondot.org> | 2008-10-14 06:56:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-10-14 06:56:04 +0000 |
commit | 6767640b97c7ee2e2d812caa7ed119db44779f59 (patch) | |
tree | cd37995e5810aeecb311fe38d5b528b18a7140ba /test/FrontendC/2008-10-13-FrontendCrash.c | |
parent | b7b6933be03954ac1ebb2f6e85e682b71a33c62c (diff) | |
download | external_llvm-6767640b97c7ee2e2d812caa7ed119db44779f59.zip external_llvm-6767640b97c7ee2e2d812caa7ed119db44779f59.tar.gz external_llvm-6767640b97c7ee2e2d812caa7ed119db44779f59.tar.bz2 |
new testcase for PR2797
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57481 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC/2008-10-13-FrontendCrash.c')
-rw-r--r-- | test/FrontendC/2008-10-13-FrontendCrash.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/FrontendC/2008-10-13-FrontendCrash.c b/test/FrontendC/2008-10-13-FrontendCrash.c new file mode 100644 index 0000000..c9731e3 --- /dev/null +++ b/test/FrontendC/2008-10-13-FrontendCrash.c @@ -0,0 +1,9 @@ +// RUN: %llvmgcc %s -S -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)); +} |