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
PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
pr60912.C
blob
ad51ba72570ea427ead70405b594c093eeb8fc5a
1
// { dg-do run }
2
// { dg-options "-O -fno-inline -fipa-pta" }
3
4
struct IFoo
5
{
6
virtual void Foo () = 0;
7
};
8
9
struct Bar:IFoo
10
{
11
void Foo () {}
12
};
13
14
int main ()
15
{
16
(new Bar ())->Foo ();
17
return 0;
18
}