Debian Codegraph @

gcc/testsuite/g++.dg/pr80374.C

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