Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.pt / assign1.C
blob9f2a4bf065b94b63fb7519bd95ccceb3e4c52ea5
1 // { dg-do compile  }
2 // Origin: Mark Mitchell <mark@codesourcery.com>
4 template <class T>
5 struct S { // { dg-error "assignment" }
6   S();
7   T t;
8 };
10 void f()
12   S<const int> s;
13   s = s; // { dg-error "synthesized" }