OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* pt.c (instantiate_class_template_1): If DECL_PRESERVE_P is set
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
scoped6.C
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-message "required" }
14
};
15
16
template class Foo<int>;
17