mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-20 18:48:13 +00:00
Add testcase for last llvm-gcc tweaks
llvm-svn: 44368
This commit is contained in:
parent
33fcaefca3
commit
49e06eb17d
12
test/CFrontend/2007-11-27-SExtZExt.c
Normal file
12
test/CFrontend/2007-11-27-SExtZExt.c
Normal file
@ -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; { }
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user