[llvm-commits] [llvm] r41266 - /llvm/trunk/test/CFrontend/2007-08-21-ComplexCst.c

Duncan Sands baldrick at free.fr
Tue Aug 21 22:58:22 PDT 2007


Author: baldrick
Date: Wed Aug 22 00:58:22 2007
New Revision: 41266

URL: http://llvm.org/viewvc/llvm-project?rev=41266&view=rev
Log:
Test handling of complex constants as lvalues. 

Added:
    llvm/trunk/test/CFrontend/2007-08-21-ComplexCst.c

Added: llvm/trunk/test/CFrontend/2007-08-21-ComplexCst.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2007-08-21-ComplexCst.c?rev=41266&view=auto

==============================================================================
--- llvm/trunk/test/CFrontend/2007-08-21-ComplexCst.c (added)
+++ llvm/trunk/test/CFrontend/2007-08-21-ComplexCst.c Wed Aug 22 00:58:22 2007
@@ -0,0 +1,3 @@
+// RUN: %llvmgcc -O2 -c %s -o /dev/null
+void f(_Complex float z);
+void g() { f(1.0i); }





More information about the llvm-commits mailing list