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.
5 extern "C" int printf (const char*, ...);
6 struct S { ~S () { } };
7 double f (S) { return 5; }
8 int main() { S s; double dist = f (s); printf ("%g\n", dist); return 0; }