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); }
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits