Skip to content

Commit 17f8c3b

Browse files
committed
Modify comment mentioned in cwg2285
1 parent 92c075a commit 17f8c3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Parser/cxx1z-decomposition.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ namespace MultiDeclarator {
136136

137137
namespace Template {
138138
int n[3];
139-
// FIXME: There's no actual rule against this...
139+
// Structured binding template is not allowed.
140140
template<typename T> auto [a, b, c] = n; // expected-error {{decomposition declaration template not supported}}
141141
}
142142

0 commit comments

Comments
 (0)