blob: e075d3fdba3ca8e55b6a529abf1f9c24145c1939 [file] [log] [blame]
// Test whether this builtin minimally works in G++.
// Origin: Kaveh Ghazi Jan 16, 2001
// Copyright (C) 2001 Free Software Foundation.
//
// Special g++ Options: -O2
namespace std
{
extern "C" void abort (void);
}
int main ()
{
using namespace std;
void *foo;
foo = ::__builtin_alloca (32);
if (!foo)
abort ();
return 0;
}