projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
pr77285-2.C: Require tls_native support.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
pr70590.C
1
// PR c++/70590
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-O2" }
4
5
int a;
6
7
constexpr int *
8
foo ()
9
{
10
return &a;
11
}
12
13
void blah (int *);
14
15
void
16
bar ()
17
{
18
blah (foo ());
19
}
20
21
void
22
baz ()
23
{
24
blah (foo ());
25
}