diff options
Diffstat (limited to 'clang/test/CodeGen/struct-comma.c')
-rw-r--r-- | clang/test/CodeGen/struct-comma.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/CodeGen/struct-comma.c b/clang/test/CodeGen/struct-comma.c new file mode 100644 index 00000000000..e8070dd1782 --- /dev/null +++ b/clang/test/CodeGen/struct-comma.c @@ -0,0 +1,4 @@ +// RUN: clang %s -emit-llvm + +struct S {int a, b;} x; +void a(struct S* b) {*b = (r(), x);} |