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
PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
inline16.C
blob
6ee6d76d925dfbf3e8bf31df6a1649d54e477e60
1
// PR c++/36959
2
// We shouldn't have to emit fromSlotB just because we need shuf_BZZZ.
3
// { dg-options -O }
4
// { dg-final { scan-assembler-not "_ZL9fromSlotBv" } }
5
6
static inline int *fromSlotB(void)
7
{
8
static int shuf_BZZZ = 1;
9
return &shuf_BZZZ;
10
}
11
12
int *p;
13
14
int main(void)
15
{
16
p = fromSlotB();
17
return (*p != 1);
18
}
19