summaryrefslogtreecommitdiff
path: root/test/FrontendC/2008-08-07-GEPIntToPtr.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-07-26 23:49:39 +0000
committerEric Christopher <echristo@apple.com>2011-07-26 23:49:39 +0000
commite927dc654f4d9529bd13783680636cb0db0eb852 (patch)
tree3cabfda420d2a0dc0abe391ac0f3700b3ef5451e /test/FrontendC/2008-08-07-GEPIntToPtr.c
parent00005782fa860f4b48b3b5261d92541c61ee2495 (diff)
Remove test/FrontendC, almost all of the tests have been migrated
to clang now, the rest are in process (6) or have been deleted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136191 91177308-0d34-0410-b5e6-96231b3b80d8
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)
-};