Debian Codegraph @

gcc/testsuite/g++.dg/other/return1.C

raw
1 // Copyright (C) 2005 Free Software Foundation, Inc.
2 // Contributed by Nathan Sidwell 12 Oct 2005 <[email protected]>
3
4 // PR 21117:ICE after error
5 // Origin: Andrew Pinski <[email protected]>
6
7 struct wxString;
8 struct wxString* wxGetEmptyString();
9
10 struct wxString GetHeader() // { dg-error "return type" }
11 {
12 return *wxGetEmptyString();
13 }
14
15