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
/
pr85147.C
blob
68c0022d80a008b8506c019499e3a3cbd6faa16c
1
// PR c++/85147
2
// { dg-do compile { target c++11 } }
3
4
template<typename T> struct A
5
{
6
template<template<...T> class...> struct B {}; // { dg-error "expected|mismatch" }
7
};
8
9
A<int>::B<> b; // { dg-error "does not name a template type" }