4 // Copyright (C) 2003 Free Software Foundation, Inc.
5 // Contributed by Nathan Sidwell 21 Mar 2003 <nathan@codesourcery.com>
7 // PR 9708. We unified a VLA size as a constant. Then issued bogus
10 template <unsigned int N>
11 char* begin(char (&a) [N] ); // { dg-message "note" }
17 begin(d); // { dg-error "no matching function" }
18 // { dg-message "(candidate|valid template argument)" "candidate note" { target *-*-* } .-1 }