// RUN: %clang_cc1 -fsyntax-only %s -std=c++11 -verify
// This is a test for a hack in Clang that works around an issue with libc++'s
// <valarray> implementation. The <valarray> header contains explicit
// instantiations of functions that it declared with the internal_linkage
// attribute, which are ill-formed by [temp.explicit]p13 (and meaningless).
;
extern ; // expected-error {{explicit instantiation declaration of 'x' with internal linkage}}