repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix test-suite fallout of default -Wreturn-type.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
changes-meaning.C
blob
fdbddf820914d0a892d5285cb1a8acc946e8ceef
1
/* { dg-do compile } */
2
/* { dg-options "-fpermissive" } */
3
4
template <class _Tp> class auto_ptr {}; /* { dg-warning "changes meaning" } */
5
template <class _Tp>
6
class counted_ptr
7
{
8
public:
9
auto_ptr<_Tp> auto_ptr(); /* { dg-warning "" } */
10
};
11