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
PR c++/50835
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
inherit
/
local3.C
1
// PR c++/13744 (ice-on-valid-code)
2
// Origin: Thom Harp <thomharp@charter.net>
3
4
// { dg-do compile }
5
6
template<int> void foo()
7
{
8
struct A
9
{
10
virtual void bar() { A a(*this); }
11
} a;
12
}
13
14
template void foo<0>();