1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test/FrontendC/2008-01-07-UnusualIntSize.c
Duncan Sands 8720a7d491 This is now done using a real i33, rather than
an emulated one.  Adjust the check.

llvm-svn: 64236
2009-02-10 20:44:15 +00:00

12 lines
215 B
C

// RUN: %llvmgcc %s -S -o - -O | grep i33
// 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;
}