1 // RUN: %clang_cc1 %std_cxx98- -fsyntax-only -verify -w %s
13 extern double ABC::b
= 1.0; // expected-error {{static data member definition cannot specify a storage class}}
14 static double ABC::c
= 1.0; // expected-error {{'static' can only be specified inside the class definition}}
15 __private_extern__
double ABC::d
= 1.0; // expected-error {{static data member definition cannot specify a storage class}}
16 auto double ABC::e
= 1.0; // expected-error {{static data member definition cannot specify a storage class}}
17 #if __cplusplus < 201703L
18 register double ABC::f
= 1.0; // expected-error {{static data member definition cannot specify a storage class}}