1*67e74705SXin Li // RUN: %clang_cc1 -verify -fsyntax-only -std=c90 %s 2*67e74705SXin Li // RUN: %clang_cc1 -verify -fsyntax-only -std=c99 %s 3*67e74705SXin Li // expected-no-diagnostics 4*67e74705SXin Li f(int x)5*67e74705SXin Liint f (int x) 6*67e74705SXin Li { 7*67e74705SXin Li // sizeof applied to a type should not delete the type. 8*67e74705SXin Li return sizeof (int[x]); 9*67e74705SXin Li } 10