// RUN: %clang_cc1 -std=c++14 -fsyntax-only -verify %s
;
extern "C++"
extern "C"
extern "C"
; // expected-note{{previous template declaration is here}}
; // expected-error{{template parameter has a different kind in template redeclaration}}
;
typedef int INT;
; // expected-note{{previous non-type template parameter with type 'INT' (aka 'int') is here}}
; // expected-error{{template non-type parameter has a different type 'long' in template redeclaration}}
;
; // expected-note{{previous template declaration is here}} \
// expected-note{{previous template template parameter is here}}
; // expected-error{{template parameter has a different kind in template redeclaration}}
; // expected-error{{too many template parameters in template template parameter redeclaration}}
; // expected-note{{previous definition}}
; // expected-error{{redefinition}}
;
void
; // expected-error {{variable has incomplete type 'class X1'}} \
// expected-note {{forward declaration of 'X1'}}
; // expected-error{{out-of-line definition of 'C3' does not match any declaration in namespace 'M'}}
extern "C" // expected-error{{templates must have C++ linkage}}
void