aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.target/i386/empty-class1.C
blob: c1992772d269e7576f05ca273d7e13c7b85c3170 (plain)
1
2
3
4
5
6
7
8
9
// PR target/88529
// { dg-do compile { target { c++11 && x86_64-*-* } } }
// { dg-additional-options -fdump-rtl-expand }
// { dg-final { scan-rtl-dump-not "set" "expand" } }
// The x86_64 psABI says that f() doesn't put the return value anywhere.

class A{};

A f() { return {}; }