1 /* RUN: %clang_cc1 -verify -std=c99 -pedantic %s
2 RUN: %clang_cc1 -verify=c89 -std=c89 -pedantic %s
3 expected-no-diagnostics
6 /* WG14 N782: Clang 3.4
7 * Relaxed constraints on aggregate and union initialization
15 struct S s
= { a
, b
}; /* c89-warning {{initializer for aggregate is not a compile-time constant}} */
21 union U u
= { a
}; /* c89-warning {{initializer for aggregate is not a compile-time constant}} */