repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-eh2.C
blob
1ef510a484a90e333835e86cf6ea1317c896f823
1
// PR c++/47263
2
// PR c++/49260
3
// { dg-options "-fno-asynchronous-unwind-tables -fno-dwarf2-cfi-asm" }
4
// { dg-do run { target c++11 } }
5
6
#include <exception>
7
8
int main( void )
9
{
10
std::set_unexpected( []{ throw 0; } );
11
try
12
{
13
[]() throw( int ) { throw nullptr; }();
14
}
15
catch( int )
16
{ }
17
}