summaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2007-05-29-UnionCopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/FrontendC/2007-05-29-UnionCopy.c')
-rw-r--r--test/FrontendC/2007-05-29-UnionCopy.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/FrontendC/2007-05-29-UnionCopy.c b/test/FrontendC/2007-05-29-UnionCopy.c
deleted file mode 100644
index 95ab388..0000000
--- a/test/FrontendC/2007-05-29-UnionCopy.c
+++ /dev/null
@@ -1,18 +0,0 @@
-// RUN: %llvmgcc -S -o - %s | grep memcpy
-// PR1421
-
-struct A {
- char c;
- int i;
-};
-
-struct B {
- int c;
- unsigned char x;
-};
-
-union U { struct A a; struct B b; };
-
-void check(union U *u, union U *v) {
- *u = *v;
-}
OpenPOWER on IntegriCloud