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
/
debug
/
pr72808.C
blob
7e4688c3e70334644040dbbfc98a7e45f664c7de
1
// PR c++/72808
2
// { dg-do compile }
3
// { dg-options "-g -std=c++14" }
4
5
struct A
6
{
7
virtual void foo ();
8
};
9
10
struct B : A
11
{
12
void foo ();
13
enum C : int;
14
};
15
16
enum B::C : int
17
{
18
D
19
};
20
21
void
22
B::foo ()
23
{
24
}