mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-16 21:29:58 +08:00
New test
From-SVN: r33182
This commit is contained in:
parent
8bfecb841a
commit
5ead1006da
21
gcc/testsuite/g++.old-deja/g++.other/crash16.C
Normal file
21
gcc/testsuite/g++.old-deja/g++.other/crash16.C
Normal file
@ -0,0 +1,21 @@
|
||||
// Build don't link:
|
||||
// Special g++ Options: -O2
|
||||
// Origin: scott snyder <snyder@fnal.gov>
|
||||
|
||||
// crash test - XFAIL *-*-*
|
||||
|
||||
void _S_initialize();
|
||||
|
||||
class locale
|
||||
{
|
||||
public:
|
||||
locale() throw()
|
||||
{ _S_initialize (); }
|
||||
};
|
||||
|
||||
void foo(const locale& __loc);
|
||||
|
||||
void print (const int&)
|
||||
{
|
||||
foo(locale());
|
||||
}
|
Loading…
Reference in New Issue
Block a user