summaryrefslogtreecommitdiffstats
path: root/test/Sema/complex-int.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/complex-int.c')
-rw-r--r--test/Sema/complex-int.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Sema/complex-int.c b/test/Sema/complex-int.c
index 2bd0374..cb76a34 100644
--- a/test/Sema/complex-int.c
+++ b/test/Sema/complex-int.c
@@ -49,3 +49,7 @@ void test3(_Complex int *x) {
void test4(_Complex float *x) {
*x = ~*x;
}
+
+void test5(_Complex int *x) {
+ (*x)++;
+}
OpenPOWER on IntegriCloud