PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / initlist54.C
blob52a8ff94d991368a95372f5e672f733965ede107
1 // PR c++/49355
2 // { dg-do compile { target c++11 } }
4 #include <string>
6 struct T {
7   std::string foobar;
8 };
10 int main()
12   T* x = new T({""});