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
/
pr84630.C
blob
3c2b4e46e3489b4eb56085ab15cf8b17a9db10e9
1
// PR c++/84630
2
// { dg-do compile { target c++11 } }
3
4
template <typename...> struct c {
5
template <int> __attribute__((noinline([] {}))) int b(); // { dg-error "wrong number of arguments" }
6
};
7
c<> a;