summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/complex.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/complex.c')
-rw-r--r--clang/test/CodeGen/complex.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/clang/test/CodeGen/complex.c b/clang/test/CodeGen/complex.c
index 0cc002bc6d6..93e25cf459c 100644
--- a/clang/test/CodeGen/complex.c
+++ b/clang/test/CodeGen/complex.c
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s
+// RUN: clang -emit-llvm < %s
int main(void)
{
@@ -46,3 +46,8 @@ void t2() {
(__imag__ cf) = 4.0;
}
+// PR1960
+void t3() {
+ __complex__ long long v = 2;
+}
+
OpenPOWER on IntegriCloud