1 // RUN: %clang_cc1 -fsyntax-only -verify %s
5 int v2 = typeof(int)(1,2); // expected-error {{excess elements in scalar initializer}}
7 int v3 = arr(); // expected-error {{array types cannot be value-initialized}}
9 int v5 = int; // expected-error {{expected '(' for function-style cast or type construction}}
14 str = "a string"; // expected-warning{{conversion from string literal to 'char *' is deprecated}}
16 wstr = L"a wide string"; // expected-warning{{conversion from string literal to 'wchar_t *' is deprecated}}