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
/
alias-decl-27.C
blob
91208abf90eb9671f93b0fee4c33af85204bdca9
1
// Origin: PR c++/54875
2
// { dg-do compile { target c++11 } }
3
4
template<typename T>
5
using AddConst = T const;
6
7
enum FwdEnum : int;
8
9
int main() {
10
AddConst<FwdEnum> *ptr = nullptr;
11
}