From f52feed9e93e0cf27cf898fb717de9a10729e21c Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Mon, 1 Oct 2007 16:53:09 -0400 Subject: [PATCH] re PR c++/15745 (exception specification incorrectly changes the type of the exception thrown) PR c++/15745 * except.c (prepare_eh_type): Use type_decays_to. From-SVN: r128917 --- gcc/testsuite/g++.dg/ext/vla4.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/ext/vla4.C b/gcc/testsuite/g++.dg/ext/vla4.C index 8b7f38f8ba80..ecec908074d5 100644 --- a/gcc/testsuite/g++.dg/ext/vla4.C +++ b/gcc/testsuite/g++.dg/ext/vla4.C @@ -7,7 +7,7 @@ void f(int i) { try { int a[i]; throw &a; // { dg-error "variable size" } - } catch (int (&)[i]) { // { dg-error "variable size" } + } catch (int (*)[i]) { // { dg-error "variable size" } } } -- 2.47.2