diff options
author | Tan S. B <cpplearner@outlook.com> | 2018-12-17 19:53:22 +0000 |
---|---|---|
committer | Tan S. B <cpplearner@outlook.com> | 2018-12-17 19:53:22 +0000 |
commit | 43436b31e62c45dcac4c2306184ca7f56785f9bc (patch) | |
tree | 350dba526f88c3db01dea729e26f4849ec29c408 /test/CXX | |
parent | 468c31a4de61378fca7ab17718d3bce6afa10a38 (diff) |
[NFC] Test commit: tweak whitespace in comment
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@349384 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CXX')
-rw-r--r-- | test/CXX/temp/temp.param/p3.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CXX/temp/temp.param/p3.cpp b/test/CXX/temp/temp.param/p3.cpp index c3c93396cb..f709630504 100644 --- a/test/CXX/temp/temp.param/p3.cpp +++ b/test/CXX/temp/temp.param/p3.cpp @@ -16,7 +16,7 @@ template<template<class T> class Y> struct X1 { // [Note: because of the name lookup rules, a template-parameter that // could be interpreted as either a non-type template-parameter or a // type-parameter (because its identifier is the name of an already -// existing class) is taken as a type-parameter. For example, +// existing class) is taken as a type-parameter. For example, class T { /* ... */ }; // expected-note{{candidate constructor (the implicit copy constructor) not viable}} #if __cplusplus >= 201103L // C++11 or later // expected-note@-2 {{candidate constructor (the implicit move constructor) not viable}} @@ -27,7 +27,7 @@ int i; template<class T, T i> struct X2 { void f(T t) { - T t1 = i; //template-parameters T and i + T t1 = i; // template-parameters T and i ::T t2 = ::i; // global namespace members T and i \ // expected-error{{no viable conversion}} } |