aboutsummaryrefslogtreecommitdiff
path: root/test/C++Frontend/pointer_arithmetic.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/C++Frontend/pointer_arithmetic.c')
-rw-r--r--test/C++Frontend/pointer_arithmetic.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/C++Frontend/pointer_arithmetic.c b/test/C++Frontend/pointer_arithmetic.c
deleted file mode 100644
index 5fedd85e00..0000000000
--- a/test/C++Frontend/pointer_arithmetic.c
+++ /dev/null
@@ -1,21 +0,0 @@
-typedef struct {
- int w;
-// float x;
-// double y;
-// long long z;
-} S1Ty;
-
-typedef struct {
- S1Ty A, B;
-} S2Ty;
-
-void takeS1(S1Ty *V) {}
-void takeVoid(void *P) {}
-
-int main() {
- S2Ty E;
- takeS1(&E.B);
- takeVoid(&E);
- return 0;
-}
-