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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
non-dependent1.C
blob
3fe5c33d7823d015ccbf80b74bd713d1f206b7cc
1
//PR c++/8222
2
// Origin: giovannibajo@libero.it and setzersn@gmx.de
3
4
// { dg-do run }
5
6
struct Foo
7
{
8
template <class>
9
void func() {}
10
};
11
template <class>
12
void Bar(Foo* p)
13
{
14
p->func<int>();
15
}
16
17
int main()
18
{
19
Foo c;
20
Bar<int>(&c);
21
}