Author: asl
Date: Tue Nov 27 12:21:29 2007
New Revision: 44368

URL: http://llvm.org/viewvc/llvm-project?rev=44368&view=rev
Log:
Add testcase for last llvm-gcc tweaks

Added:
    llvm/trunk/test/CFrontend/2007-11-27-SExtZExt.c

Added: llvm/trunk/test/CFrontend/2007-11-27-SExtZExt.c
URL: 
http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2007-11-27-SExtZExt.c?rev=44368&view=auto

==============================================================================
--- llvm/trunk/test/CFrontend/2007-11-27-SExtZExt.c (added)
+++ llvm/trunk/test/CFrontend/2007-11-27-SExtZExt.c Tue Nov 27 12:21:29 2007
@@ -0,0 +1,12 @@
+// RUN: %llvmgcc -S %s -emit-llvm -o - | grep "signext" | count 4
+
+signed char foo1() { return 1; }
+
+void foo2(signed short a) { }
+
+signed char foo3(void) { return 1; }
+
+void foo4(a) signed short a; { }
+
+
+


_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to