repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
noexcept61.C
blob
653cd7e66808a124d10e4e9281e2e7b7948edcca
1
// PR c++/82099
2
// { dg-do compile { target c++11 } }
3
4
template <typename T, typename U>
5
void bar (T &x, T &y, U u)
6
{
7
u (x, y);
8
}
9
10
template <typename T>
11
void baz (T &x, T &y) noexcept (noexcept (x == y));
12
13
void
14
foo (int x, int y)
15
{
16
bar (x, y, baz<int>);
17
}