gcc/testsuite/g++.target/nvptx/exceptions-bad_cast-3.C
raw| 1 | /* 'std::bad_cast' exception, dead code. */ |
| 2 | |
| 3 | /* { dg-do run } */ |
| 4 | /* Via the magic string "-std=*++" indicate that testing one (the default) C++ standard is sufficient. */ |
| 5 | /* { dg-additional-options -fexceptions } */ |
| 6 | /* { dg-additional-options -fdump-tree-optimized-raw } */ |
| 7 | |
| 8 | #include "../../../../libgomp/testsuite/libgomp.oacc-c++/exceptions-bad_cast-3.C" |
| 9 | |
| 10 | /* { dg-final { scan-tree-dump-times {gimple_call <__cxa_bad_cast, } 1 optimized } } */ |