1 // { dg-do run } 2 // On an i386, this core dumps because the reg-stack.c code is wrong, and 3 // pops an fp register that it thinks is not used, but it is. 4 5 extern "C" int printf (const char*, ...); ~SS6struct S { ~S () { } }; f(S)7double f (S) { return 5; } main()8int main() { S s; double dist = f (s); printf ("%g\n", dist); return 0; } 9