1 2 3 4 5 6 7 8 9 10 11 12 13
// Build don't link: typedef const struct { int x; } Test; void foo(Test); void foo(Test t) { t.x = 0; // ERROR - assignment of read-only member return; }