OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* gcc.dg/20020201-1.c: Use cleanup-coverage_files.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
assign1.C
1
// { dg-do assemble }
2
// Origin: Mark Mitchell <mark@codesourcery.com>
3
4
template <class T>
5
struct S {
6
S();
7
T t;
8
};
9
10
void f()
11
{
12
S<const int> s;
13
s = s; // { dg-error "" } generated assignment operator is illegal
14
}