Message ID | ZV-7qGTqufuUgo4P@mx3210.localdomain |
---|---|
State | New |
Headers | show |
Series | [committed] hppa: Export main in pr104869.C on hpux | expand |
diff --git a/gcc/testsuite/g++.dg/pr104869.C b/gcc/testsuite/g++.dg/pr104869.C index 9a6ef88adbd..13a39fccdb9 100644 --- a/gcc/testsuite/g++.dg/pr104869.C +++ b/gcc/testsuite/g++.dg/pr104869.C @@ -68,6 +68,9 @@ struct ControlFlow { foo(2); return false; } +#ifdef __hpux__ +extern int main(void); +#endif int main() { ControlFlow cf = { nullptr, ControlFlow::UnwindType::EE };