summaryrefslogtreecommitdiff
path: root/test/FrontendC/2008-08-07-GEPIntToPtr.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/FrontendC/2008-08-07-GEPIntToPtr.c')
-rw-r--r--test/FrontendC/2008-08-07-GEPIntToPtr.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/FrontendC/2008-08-07-GEPIntToPtr.c b/test/FrontendC/2008-08-07-GEPIntToPtr.c
deleted file mode 100644
index 3ef3b66b88..0000000000
--- a/test/FrontendC/2008-08-07-GEPIntToPtr.c
+++ /dev/null
@@ -1,14 +0,0 @@
-// RUN: %llvmgcc -S %s -o - | grep {i8 1}
-// PR2603
-
-struct A {
- char num_fields;
-};
-
-struct B {
- char a, b[1];
-};
-
-const struct A Foo = {
- (char *)(&( (struct B *)(16) )->b[0]) - (char *)(16)
-};