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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
init
/
ref18.C
blob
e704077c26bc93c6bdd7e575775a8095fca2007e
1
// PR c++/49395
2
3
volatile int foo();
4
struct A { volatile int i; };
5
typedef volatile int vi;
6
7
volatile int i;
8
9
const int& ir1 = foo();
10
//const int& ir2 = A().i; // line 8
11
const int& ir3 = static_cast<volatile int>(i);
12
const int& ir4 = vi(); // line 10