summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/C++Frontend/2003-05-23-TransparentUnion.c
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Regression/C++Frontend/2003-05-23-TransparentUnion.c')
-rw-r--r--llvm/test/Regression/C++Frontend/2003-05-23-TransparentUnion.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/llvm/test/Regression/C++Frontend/2003-05-23-TransparentUnion.c b/llvm/test/Regression/C++Frontend/2003-05-23-TransparentUnion.c
deleted file mode 100644
index 870826a595a..00000000000
--- a/llvm/test/Regression/C++Frontend/2003-05-23-TransparentUnion.c
+++ /dev/null
@@ -1,20 +0,0 @@
-#include <stdio.h>
-
-typedef union {
- float *__fptr;
- int *__iptr;
-} UNION __attribute__ ((__transparent_union__));
-
-int try(UNION U) {
- return 1;
-}
-int test() {
- int I;
- float F;
- return try(&I) | try(&F);
-}
-
-int main() {
- if (test()) printf("ok");
- return 0;
-}
OpenPOWER on IntegriCloud