diff options
author | Eric Christopher <echristo@apple.com> | 2011-08-19 23:08:41 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-08-19 23:08:41 +0000 |
commit | 0e7128894337202ae4f368c0b14ce5909dddb84d (patch) | |
tree | 219d352ddc1fa4a9128816f9b8c9a458a562c05f /test/FrontendC++/2007-05-16-ReverseBitFieldCrash.cpp | |
parent | 854a7db117707658625c22e546810d564f3e20ea (diff) |
Remove obsolete or migrated tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC++/2007-05-16-ReverseBitFieldCrash.cpp')
-rw-r--r-- | test/FrontendC++/2007-05-16-ReverseBitFieldCrash.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/test/FrontendC++/2007-05-16-ReverseBitFieldCrash.cpp b/test/FrontendC++/2007-05-16-ReverseBitFieldCrash.cpp deleted file mode 100644 index 42342fc948..0000000000 --- a/test/FrontendC++/2007-05-16-ReverseBitFieldCrash.cpp +++ /dev/null @@ -1,24 +0,0 @@ -// RUN: %llvmgxx %s -S -o - - -#pragma reverse_bitfields on -typedef unsigned long UINT32; - -extern void abort(void); - -typedef struct TestStruct -{ - long first: 15, - second: 17; -} TestStruct; - -int main (int argc, char * const argv[]) { - - TestStruct testStruct = {1, 0}; - - UINT32 dw = *(UINT32 *)(&testStruct); - - if(!(dw & 0xFFFF)) - abort (); - - return 0; -} |