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
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
defarg10.C
blob
281b1086845a0efe4604d03e6db2935e59296c93
1
// PR c++/28363
2
// { dg-do compile }
3
4
template<typename T, template<int> class = T> // { dg-error "invalid use of type" }
5
struct A;
6
7
typedef int I;
8
template<template<int> class = I> // { dg-error "invalid use of type" }
9
struct B;
10
11
struct S;
12
template<template<int> class = S> // { dg-error "invalid use of type" }
13
struct C;