repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
opt
/
switch3.C
blob
643cac3235b1f8a7f04fdd817ff9a015191b4275
1
// PR c++/20023
2
// { dg-do compile }
3
// { dg-options "-O2" }
4
5
void f (void);
6
typedef __SIZE_TYPE__ size_t;
7
void g (void *a)
8
{
9
size_t b = (size_t) a;
10
switch (b)
11
{
12
case 1:
13
f ();
14
break;
15
}
16
}