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
* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
noexcept30.C
blob
c51e94e75738cc9b6d60b211f8413e8a4235dd71
1
// PR c++/69300
2
// { dg-do compile { target c++11 } }
3
4
template<typename A>
5
struct F {
6
template<typename B>
7
void f() noexcept(&F::template f<B>) {} // { dg-error "exception specification" }
8
};
9
10
int main () {
11
F<void>().f<int>();
12
}