summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/exprs.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/exprs.c')
-rw-r--r--test/CodeGen/exprs.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/exprs.c b/test/CodeGen/exprs.c
index 7cc1134..c9978b8 100644
--- a/test/CodeGen/exprs.c
+++ b/test/CodeGen/exprs.c
@@ -145,3 +145,10 @@ double f13(double X) {
// CHECK: fsub double -0.0
return -X;
}
+
+// Check operations on incomplete types.
+struct s14;
+void f14(struct s13 *a) {
+ (void) &*a;
+}
+
OpenPOWER on IntegriCloud