mirror of
https://github.com/autc04/Retro68.git
synced 2025-02-17 11:31:00 +00:00
18 lines
150 B
C++
18 lines
150 B
C++
// PR c++/37568
|
|
// { dg-do compile }
|
|
// { dg-options "-fmudflap -O" }
|
|
|
|
struct A
|
|
{
|
|
int i;
|
|
};
|
|
|
|
A
|
|
foo ()
|
|
{
|
|
A a = { 1 };
|
|
return a;
|
|
}
|
|
|
|
A a = foo ();
|