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
/
defaulted5.C
blob
96394ea5b12df5ee13cffd1a8507bb86a5fffba8
1
// PR c++/37234
2
// { dg-do link { target c++11 } }
3
4
template <typename T>
5
class foo {
6
public:
7
foo() =default;
8
~foo();
9
};
10
11
template <typename T>
12
foo<T>::~foo() =default;
13
14
int main() {
15
16
foo<int> fi;
17
18
return 0;
19
}