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
c++: robustify testcase [PR109752]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
partial-specialization8.C
blob
e3ffe3b58a705263a7e7d50c441bd6288457a964
1
// PR c++/55639
2
3
template <int number>
4
struct SomeClass
5
{
6
SomeClass() { }
7
8
template <typename E, int number2>
9
struct Fun {
10
static void
11
fun() { }
12
};
13
};
14
15
template <int number>
16
template <typename E>
17
struct SomeClass<number>::template Fun<E, 0> { // { dg-error "template" }
18
static void fun() { }
19
};