From 35a5cfeeb9f3a4f2cd5e16e51591bf7a7089b104 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Wed, 22 Aug 2007 05:58:22 +0000 Subject: Test handling of complex constants as lvalues. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41266 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2007-08-21-ComplexCst.c | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test/CFrontend/2007-08-21-ComplexCst.c (limited to 'test/CFrontend') diff --git a/test/CFrontend/2007-08-21-ComplexCst.c b/test/CFrontend/2007-08-21-ComplexCst.c new file mode 100644 index 0000000..7ddd87c --- /dev/null +++ b/test/CFrontend/2007-08-21-ComplexCst.c @@ -0,0 +1,3 @@ +// RUN: %llvmgcc -O2 -c %s -o /dev/null +void f(_Complex float z); +void g() { f(1.0i); } -- cgit v1.1