1 2 3 4 5 6 7 8
// PR c++/41786 // { dg-options -std=c++0x } struct A { A(int, char const*); }; int main() { int i = 0, *b = &i; A a(int(b[i]), "hello"); }