aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/complex.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/complex.c')
-rw-r--r--test/CodeGen/complex.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/complex.c b/test/CodeGen/complex.c
index 93e25cf459..9c0e3d5fc5 100644
--- a/test/CodeGen/complex.c
+++ b/test/CodeGen/complex.c
@@ -51,3 +51,10 @@ void t3() {
__complex__ long long v = 2;
}
+// PR3131
+float _Complex t4();
+
+void t5() {
+ float _Complex x = t4();
+}
+