Fix typo in test case
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / typedef1.C
blobb9ebac2f22d727767d8215571c607abe51919302
1 // Build don't link:
3 typedef const struct {
4    int x;
5 } Test;
7 static void foo(Test);
9 static void foo(Test t)
11   t.x = 0; // ERROR - assignment of read-only member
12   return;