You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 1, 2021. It is now read-only.
Give more accurate descriptions of what kind of template we found in diagnostics.
We were previouly assuming that every type template was a class template, which
is not true any more.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291988 91177308-0d34-0410-b5e6-96231b3b80d8
Copy file name to clipboardExpand all lines: test/CXX/temp/temp.spec/cxx1y-variable-template-no-body.cpp
+1-1
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ T pi = T(3.1415926535897932385); // expected-note {{template is declared here}}
9
9
template intpi<int>;
10
10
11
11
#ifndef FIXING
12
-
template floatpi<>; // expected-error {{too few template arguments for template 'pi'}}
12
+
template floatpi<>; // expected-error {{too few template arguments for variable template 'pi'}}
13
13
template double pi_var0; // expected-error {{explicit instantiation of 'pi_var0' does not refer to a function template, variable template, member function, member class, or static data member}}
0 commit comments