From: Duncan Sands Date: Wed, 22 Aug 2007 05:58:22 +0000 (+0000) Subject: Test handling of complex constants as lvalues. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=35a5cfeeb9f3a4f2cd5e16e51591bf7a7089b104;p=oota-llvm.git Test handling of complex constants as lvalues. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41266 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CFrontend/2007-08-21-ComplexCst.c b/test/CFrontend/2007-08-21-ComplexCst.c new file mode 100644 index 00000000000..7ddd87c08e4 --- /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); }