(void)newint[ValueInt(10)];// expected-warning{{implicit conversion from array size expression of type 'ValueInt' to integral type 'int' is a C++11 extension}}
(void)newint[ValueEnum()];// expected-warning{{implicit conversion from array size expression of type 'ValueEnum' to enumeration type 'E' is a C++11 extension}}
(void)newint[ValueBoth()];// expected-error{{ambiguous conversion of array size expression of type 'ValueBoth' to an integral or enumeration type}}
(void)newint[TwoValueInts()];// expected-error{{ambiguous conversion of array size expression of type 'TwoValueInts' to an integral or enumeration type}}