blob: 221b38fe4474b603ea4e02eb288a91ac8a58cde8 [file] [log] [blame]
// { dg-do assemble }
// { dg-options "-O2 -W " }
#include "stdio.h"
void writeNote()
#if __cplusplus <= 201402L
throw( int ) // { dg-warning "deprecated" "" { target { c++11 && { ! c++17 } } } }
#endif
{
printf( "hello world\n" );
try { }
catch( int ){ throw; }
}