1 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s 2 3 template<typename> void func(); 4 template<> void func<int>() = delete; 5 6 template<typename> void func2(); 7 template<> void func2<int>(); // expected-note {{previous declaration is here}} 8 template<> void func2<int>() = delete; // expected-error {{deleted definition must be first declaration}} 9