Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.martin/typedef2.C

raw
1 // { dg-do assemble }
2 // Testcase from Alexander Zvyagin <[email protected]>
3 // Check implicit conversion from string constants into typedefs
4
5 typedef char CHAR;
6 void f2(CHAR *s=""); // { dg-warning "deprecated|forbids converting a string constant" }
7