[llvm-commits] [llvm] r44368 - /llvm/trunk/test/CFrontend/2007-11-27-SExtZExt.c
Anton Korobeynikov
asl at math.spbu.ru
Tue Nov 27 10:21:29 PST 2007
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; { }
+
+
+
More information about the llvm-commits
mailing list