| 1 |
/* 'throw', 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-throw-3.C" |
| 9 |
|
| 10 |
/* { dg-final { scan-tree-dump-times {gimple_call <__cxa_allocate_exception, } 1 optimized } } |
| 11 |
{ dg-final { scan-tree-dump-times {gimple_call <__cxa_throw, } 1 optimized } } */ |