repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
scoped6.C
blob
d9566a7e0994d849674b3c25ba479ea3a3001b2b
1
template <typename X>
2
class Foo {
3
int i;
4
public:
5
Foo() {
6
X::explode(); // { dg-error "" }
7
}
8
};
9
10
class Bar {
11
Foo<int> foo_;
12
public:
13
Bar() {} // { dg-error "instantiated" }
14
};
15
16
template class Foo<int>;
17