diff options
Diffstat (limited to 'test/CFrontend/sret2.c')
-rw-r--r-- | test/CFrontend/sret2.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CFrontend/sret2.c b/test/CFrontend/sret2.c new file mode 100644 index 0000000..137f560 --- /dev/null +++ b/test/CFrontend/sret2.c @@ -0,0 +1,9 @@ +// RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | grep sret | count 2 + +struct abc { + int a; + int b; + int c; +}; + +struct abc foo2(){} |