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
c++: prvalue of array type [PR111286]
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
pr90590-1.c
blob
4e11debb7fa1c841c611701afdd146173b8e4459
1
// PR c++/90590
2
// { dg-options -Wswitch }
3
#include
"pr90590-1.h"
4
5
void
6
g
()
7
{
8
enum
E e
=
_A
;
9
switch
(
e
)
// { dg-bogus "enumeration value '_C' not handled in switch" }
10
{
11
case
_A
:
12
case
_B
:
13
break
;
14
}
15
}