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
2018-10-23 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
eh
/
pr84968.C
blob
23c49f477a8855a4cb2e111a1705f673654b834f
1
// { dg-do compile { target c++11 } }
2
3
// { dg-options "" }
4
5
union b;
6
7
struct S {
8
template <typename>
9
void a()
10
try {
11
} catch (int ()
12
noexcept (({ union b a; true; }))) // { dg-error "constant" }
13
{
14
}
15
};