// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++1y
// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11 -Wno-c++1y-extensions
// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++98 -Wno-c++11-extensions
;
void
;
;
const int S::b;
const auto S::c = 0;
// In an initializer of the form ( expression-list ), the expression-list
// shall be a single assigment-expression.
auto ;
auto ; // expected-error {{initializer for variable 'parens2' with type 'auto' contains multiple expressions}}
auto ; // expected-error {{cannot deduce type for variable 'parens3' with type 'auto' from parenthesized initializer list}}
auto parens4 = ;
auto parens5 = ; // expected-error {{initializer for lambda capture 'p5' contains multiple expressions}}
auto parens6 = ; // expected-error {{cannot deduce type for lambda capture 'p6' from parenthesized initializer list}}