Mercurial > hg > CbC > CbC_llvm
annotate clang/test/CodeGen/sret.c @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 1d019706d866 |
children | 1f2b6ac9f198 |
rev | line source |
---|---|
236 | 1 // RUN: %clang_cc1 %s -Wno-strict-prototypes -emit-llvm -o - | grep sret | grep -v 'sret.c' | count 4 |
150 | 2 |
3 struct abc { | |
4 long a; | |
5 long b; | |
6 long c; | |
7 long d; | |
8 long e; | |
9 }; | |
10 | |
11 struct abc foo1(void); | |
12 struct abc foo2(); | |
13 | |
236 | 14 void bar(void) { |
150 | 15 struct abc dummy1 = foo1(); |
16 struct abc dummy2 = foo2(); | |
17 } |