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
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
pr84973-2.C
blob
41c205ad524394a14749747d7d37486c7c69c178
1
// { dg-do compile }
2
3
template <int> void a() {
4
typedef struct {
5
void b() try { b; } catch (short) { // { dg-error "invalid use" }
6
}
7
} c;
8
}
9
10
int
11
main() {
12
a<0>();
13
}