diff options
Diffstat (limited to 'test/CXX/temp/temp.spec/temp.explicit/p2.cpp')
| -rw-r--r-- | test/CXX/temp/temp.spec/temp.explicit/p2.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CXX/temp/temp.spec/temp.explicit/p2.cpp b/test/CXX/temp/temp.spec/temp.explicit/p2.cpp index 0da316cc9cef4..70d338b9f6454 100644 --- a/test/CXX/temp/temp.spec/temp.explicit/p2.cpp +++ b/test/CXX/temp/temp.spec/temp.explicit/p2.cpp @@ -25,9 +25,9 @@ T X0<T>::value = 17; typedef X0<int> XInt; -template struct XInt::Inner; // expected-error{{template-id}} -template void XInt::f(); // expected-error{{template-id}} -template int XInt::value; // expected-error{{template-id}} +template struct XInt::Inner; // expected-warning{{template-id}} +template void XInt::f(); // expected-warning{{template-id}} +template int XInt::value; // expected-warning{{template-id}} namespace N { template<typename T> |
