Debian Codegraph @

libstdc++-v3/testsuite/18_support/exception_ptr/96657.cc

raw
1 // { dg-options "-nodefaultlibs -lsupc++ -lgcc_s -lc" { target sparc*-*-linux-gnu } }
2 // { dg-do link { target c++11 } }
3
4 #include <exception>
5
6 void
7 test01()
8 {
9 // PR libstdc++/96657 undefined references in libsupc++
10 std::make_exception_ptr(1);
11 }
12
13 int
14 main()
15 {
16 test01();
17 }