Commit fc647d44 by Markus Trippelsdorf

Fix pr80374 testcase

From-SVN: r246832
parent abde687a
// { dg-do compile }
// { dg-options "-O1 -std=c++11" }
void a (const char *, const char *, int, const char *) void a (const char *, const char *, int, const char *)
__attribute__ ((__noreturn__)); __attribute__ ((__noreturn__));
template <typename b, int> template <typename b, int>
...@@ -11,7 +13,8 @@ catch (b d) ...@@ -11,7 +13,8 @@ catch (b d)
if (d) if (d)
a ("", "", 2, __PRETTY_FUNCTION__); a ("", "", 2, __PRETTY_FUNCTION__);
} }
main () void
foo ()
{ {
using e = decltype (nullptr); using e = decltype (nullptr);
c<volatile e, true> (); c<volatile e, true> ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment