blob: 83f778be638a7b756c6c5e4b83843955f4ea363d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// { dg-do compile }
// { dg-options "-O1 -std=c++11" }
void a (const char *, const char *, int, const char *)
__attribute__ ((__noreturn__));
template <typename b, int>
void
c () try
{
throw;
}
catch (b d)
{
if (d)
a ("", "", 2, __PRETTY_FUNCTION__);
}
void
foo ()
{
using e = decltype (nullptr);
c<volatile e, true> ();
}
|