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
Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
delayedfold
/
switch-1.C
blob
302da2365d1c75b16065836f9971fed58dba7a4b
1
// PR c++/68362
2
// { dg-do compile { target c++11 } }
3
4
enum class A { foo };
5
enum E { bar };
6
7
void
8
fn1 (const A a)
9
{
10
switch (a)
11
case A::foo:;
12
}
13
14
void
15
fn2 (E e)
16
{
17
switch (e)
18
case bar:;
19
}