summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/struct-comma.c
blob: e5b51514384abde79bdce982e288241dfea2b1a3 (plain)
1
2
3
4
// RUN: %clang_cc1 %s -emit-llvm -o -

struct S {int a, b;} x;
void a(struct S* b) {*b = (r(), x);}
OpenPOWER on IntegriCloud