mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-23 04:01:16 +00:00
Testcase for PR1721
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45739 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0d893b4038
commit
83d760ba8e
11
test/CFrontend/2008-01-07-UnusualIntSize.c
Normal file
11
test/CFrontend/2008-01-07-UnusualIntSize.c
Normal file
@ -0,0 +1,11 @@
|
||||
// RUN: %llvmgcc %s -S -o - -O | grep {and.*8589934591}
|
||||
// PR1721
|
||||
|
||||
struct s {
|
||||
unsigned long long u33: 33;
|
||||
} a, b;
|
||||
|
||||
// This should turn into a real 33-bit add, not a 64-bit add.
|
||||
_Bool test(void) {
|
||||
return a.u33 + b.u33 != 0;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user