summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/empty2.C
blob: a3a6bace6328becf464c239c3b04921eb146c3c6 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
// Origin: Mark Mitchell <mark@codesourcery.com>

struct E {};

void f () {
  E e1, e2;
  e1 = e2; // We should not warn about this statement, even though no
           // code is generated for it.
}