repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr70029.C
blob
9592f0cc98786c9c73447c19147a39c4c8c4d639
1
// PR c++/70029
2
// { dg-do compile }
3
// { dg-options "-std=c++11 -g -flto" }
4
// { dg-require-effective-target lto }
5
6
struct A
7
{
8
A();
9
int foo() && __attribute__ ((__warn_unused_result__)) { return 0; }
10
};
11
12
A a;