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
/
nsdmi-template2.C
blob
fcb405c157623776985a56efea737bb308317858
1
// PR c++/50614
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-fcompare-debug" }
4
5
struct A
6
{
7
int f ();
8
};
9
10
template <int> struct B : A
11
{
12
int i = this->f ();
13
};
14
15
B<0> b;