diff options
Diffstat (limited to 'test/CXX/temp/temp.param/p12.cpp')
| -rw-r--r-- | test/CXX/temp/temp.param/p12.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CXX/temp/temp.param/p12.cpp b/test/CXX/temp/temp.param/p12.cpp index 5511224ebe94..3864fbeaa11e 100644 --- a/test/CXX/temp/temp.param/p12.cpp +++ b/test/CXX/temp/temp.param/p12.cpp @@ -34,4 +34,6 @@ template<int N, // Check validity of default arguments template<template<class, int> class // expected-note{{previous template template parameter is here}} = Y1> // expected-error{{template template argument has different template parameters than its corresponding template template parameter}} - class C1; + class C1 {}; + +C1<> c1; // expected-note{{while checking a default template argument}} |
