expr-comma.c revision 080b332959f0a1886c8d0a515f656fe6215a9ce3
1// RUN: clang %s -fsyntax-only -verify 2// rdar://6095180 3 4#include <assert.h> 5struct s { char c[17]; }; 6extern struct s foo (void); 7 8// sizeof 'c' should be 17, not sizeof(char*). 9int X[sizeof(0, (foo().c)) == 17 ? 1 : -1]; 10 11 12