blob: c9a9bcd94151cbc24998d36e83b74b00186e54b2 [file] [log] [blame]
// PR c++/40308, 40311
// { dg-do run }
// { dg-options "-std=c++0x" }
template< typename T >
struct test {
test() : data{} {}
T data;
};
int main()
{
test<int> x;
test<int*> y;
int * a = new int{};
int * b = new int{5};
return 0;
}