repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist54.C
blob
52a8ff94d991368a95372f5e672f733965ede107
1
// PR c++/49355
2
// { dg-do compile { target c++11 } }
3
4
#include <string>
5
6
struct T {
7
std::string foobar;
8
};
9
10
int main()
11
{
12
T* x = new T({""});
13
}