aboutsummaryrefslogtreecommitdiff
path: root/test/FrontendC++/2007-04-10-PackedUnion.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-10-PackedUnion.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-10-PackedUnion.cpp')
-rw-r--r--test/FrontendC++/2007-04-10-PackedUnion.cpp41
1 files changed, 0 insertions, 41 deletions
diff --git a/test/FrontendC++/2007-04-10-PackedUnion.cpp b/test/FrontendC++/2007-04-10-PackedUnion.cpp
deleted file mode 100644
index b4b8894ae2..0000000000
--- a/test/FrontendC++/2007-04-10-PackedUnion.cpp
+++ /dev/null
@@ -1,41 +0,0 @@
-// RUN: %llvmgxx -S %s -o /dev/null
-extern "C" {
-
-#pragma pack(push, 2)
- typedef struct ABC* abc;
-
- struct ABCS {
- float red;
- float green;
- float blue;
- float alpha;
- };
-
- typedef void (*XYZ)();
-#pragma pack(pop)
-}
-
-
-union ABCU {
- ABCS color;
- XYZ bg;
-};
-
-struct AData {
- ABCU data;
-};
-
-class L {
- public:
- L() {}
- L(const L& other);
-
- private:
- AData fdata;
-};
-
-
-L::L(const L& other)
-{
- fdata = other.fdata;
-}