summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/opr-as1.C
blob: 9133d748cd74aae83a99b41fd701060764dd5fc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do run  }
// Shows a problem with the default op= not being an implementation...

class C {
  int i;
};

C a, b;

int main() {
  a = b;
}