1 /* Test for C99 __func__: of type const char []. */
2 /* Origin: Joseph Myers <jsm28@cam.ac.uk> */
3 /* { dg-do compile } */
4 /* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
9 char *p
= __func__
; /* { dg-error "discards" "__func__ pointer to const" } */