Home | History | Annotate | Download | only in temp.param
      1 // Suppress 'no run line' failure.
      2 // RUN: %clang_cc1 -fsyntax-only -verify %s
      3 
      4 template<template<> class C> class D; // expected-error{{template template parameter must have its own template parameters}}
      5 
      6 
      7 struct A {};
      8 template<class M,
      9          class T = A,  // expected-note{{previous default template argument defined here}}
     10          class C> // expected-error{{template parameter missing a default argument}}
     11 class X0 {}; // expected-note{{template is declared here}}
     12 X0<int> x0; // expected-error{{too few template arguments for class template 'X0'}}
     13