Fix test-suite fallout of default -Wreturn-type.
[official-gcc.git] / gcc / testsuite / g++.dg / warn / changes-meaning.C
blobfdbddf820914d0a892d5285cb1a8acc946e8ceef
1 /* { dg-do compile } */
2 /* { dg-options "-fpermissive" } */
4 template <class _Tp> class auto_ptr {};  /* { dg-warning "changes meaning" } */
5 template <class _Tp>
6 class counted_ptr
8 public:
9   auto_ptr<_Tp> auto_ptr(); /* { dg-warning "" } */