repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ipa-cp: Perform operations in the appropriate types (PR 118097)
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
lookup9.C
blob
4a1dc79eef4184ac8e5da92fce01b3a3c296e6b0
1
// PR c++/50848
2
// { dg-options "-fpermissive" }
3
4
template<class T> class A {T& foo;};
5
template<class T> class B: public A<T> {
6
void f(){
7
foo(1); // { dg-message "foo" }
8
}
9
};
10
template class B<int>;