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
Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb123.C
blob
221b38fe4474b603ea4e02eb288a91ac8a58cde8
1
// { dg-do assemble }
2
// { dg-options "-O2 -W " }
3
#include "stdio.h"
4
5
void writeNote()
6
#if __cplusplus <= 201402L
7
throw( int ) // { dg-warning "deprecated" "" { target { c++11 && { ! c++17 } } } }
8
#endif
9
{
10
printf( "hello world\n" );
11
try { }
12
catch( int ){ throw; }
13
}