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
/
initlist29.C
blob
9174164aa4834967636a24c30fac795aabbc92a3
1
// PR c++/42331
2
// { dg-do compile { target c++11 } }
3
4
class Mesh
5
{
6
public:
7
Mesh(const char*)
8
{ typele={0}; } // { dg-error "" }
9
10
private:
11
int typele[7][2];
12
};
13
14
Mesh m(0);