aboutsummaryrefslogtreecommitdiff
path: root/test/FrontendC++/2007-04-05-PackedBitFieldsSmall.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-08-19 23:08:41 +0000
committerEric Christopher <echristo@apple.com>2011-08-19 23:08:41 +0000
commit0e7128894337202ae4f368c0b14ce5909dddb84d (patch)
tree219d352ddc1fa4a9128816f9b8c9a458a562c05f /test/FrontendC++/2007-04-05-PackedBitFieldsSmall.cpp
parent854a7db117707658625c22e546810d564f3e20ea (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-04-05-PackedBitFieldsSmall.cpp')
-rw-r--r--test/FrontendC++/2007-04-05-PackedBitFieldsSmall.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/test/FrontendC++/2007-04-05-PackedBitFieldsSmall.cpp b/test/FrontendC++/2007-04-05-PackedBitFieldsSmall.cpp
deleted file mode 100644
index 7377b8292d..0000000000
--- a/test/FrontendC++/2007-04-05-PackedBitFieldsSmall.cpp
+++ /dev/null
@@ -1,27 +0,0 @@
-// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
-
-
-#ifdef PACKED
-// This is an example where size of Packed struct is smaller then
-// the size of bit field type.
-#define P __attribute__((packed))
-#else
-#define P
-#endif
-
-struct P M_Packed {
- unsigned long long X:50;
- unsigned Y:2;
-};
-
-struct M_Packed sM_Packed;
-
-int testM_Packed (void) {
- struct M_Packed x;
- return (0 != x.Y);
-}
-
-int testM_Packed2 (void) {
- struct M_Packed x;
- return (0 != x.X);
-}