1 // RUN: %clang_cc1 -fsyntax-only -verify %s
7 // expected-error@+1{{cannot declare an explicit specialization in a friend}}
8 template <> friend void f
<>(int) {}
11 // Makes sure implicit instantiation here does not trigger
12 // the assertion "Member specialization must be an explicit specialization"