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
2018-06-05 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
pr70590-2.C
blob
fd79dbfc88301506948cc5e2c1ca71add4c18c15
1
// PR c++/70590
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-O2" }
4
5
int a;
6
7
constexpr int *foo = &a;
8
9
void blah (int *);
10
11
void
12
bar ()
13
{
14
blah (foo);
15
}
16
17
void
18
baz ()
19
{
20
blah (foo);
21
}