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
c++: regenerate opt urls
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
changes-meaning.C
blob
0b9fc4cbe8ed41521cb3e0861652a28351ae7334
1
/* { dg-do compile } */
2
/* { dg-options "-fpermissive" } */
3
4
template <class _Tp> class auto_ptr {}; /* { dg-message "declared here" } */
5
template <class _Tp>
6
class counted_ptr
7
{
8
public:
9
auto_ptr<_Tp> auto_ptr(); /* { dg-warning "17:declaration of .auto_ptr\\<_Tp\\>" } */
10
};
11