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++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
pr58864.C
blob
b8587f298a050f9060d396fcc89d0e6b8e531255
1
// PR target/58864
2
// { dg-do compile }
3
// { dg-options "-Os" }
4
// { dg-additional-options "-march=i686" { target { { i?86-*-* x86_64-*-* } && ia32 } } }
5
6
struct A { A (); ~A (); };
7
struct B { B (); };
8
9
float d, e;
10
11
void
12
foo ()
13
{
14
A a;
15
float c = d;
16
while (1)
17
{
18
B b;
19
e = c ? -c : 0;
20
}
21
}