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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.dg
/
template
/
qualttp21.C
blob
00fcf40c45ce8f0a03df00543451a564b9a08dc3
1
// Copyright (C) 2002 Free Software Foundation
2
// Contributed by Roger Sayle <roger@eyesopen.com>
3
// { dg-do compile }
4
5
template <class A>
6
class foo {
7
int _foo;
8
public:
9
foo() {}
10
protected:
11
~foo() {} // { dg-error "~foo" }
12
};
13
14
int main()
15
{
16
foo<int> a; // { dg-error "context" }
17
}