This should always be signed chars, so use int8_t. This fixes a miscompile when
[llvm/stm8.git] / test / FrontendC / sret.c
blob42666917a8dfe00c7d824e381fdd5eca38f181a3
1 // RUN: %llvmgcc %s -S -O0 -o - | grep sret | count 5
3 struct abc {
4 long a;
5 long b;
6 long c;
7 };
9 struct abc foo1(void);
10 struct abc foo2();
12 void bar() {
13 struct abc dummy1 = foo1();
14 struct abc dummy2 = foo2();