// RUN: %clang_cc1 -triple i686-pc-linux-gnu -fsyntax-only -verify %s // RUN: %clang_cc1 -triple i686-pc-linux-gnu -fsyntax-only -Wno-explicit-specialization-storage-class -verify=expnone %s // expnone-no-diagnostics struct A { template static constexpr int x = 0; template<> static constexpr int x = 1; // expected-warning{{explicit specialization cannot have a storage class}} }; template static constexpr int x = 0; template<> static constexpr int x = 1; // expected-warning{{explicit specialization cannot have a storage class}}