// RUN: %clang_cc1 -fsyntax-only -verify -pedantic-errors %s void f() { int a; struct S { int m; }; typedef S *T; // Expressions. T(a)->m = 7; int(a)++; // expected-error {{assignment to cast is illegal}} __extension__ int(a)++; // expected-error {{assignment to cast is illegal}} __typeof(int)(a,5)<