Skip to content

Commit f203cb0

Browse files
committed
Fix a benign typo in a test; NFC
We were still matching the expected diagnostic, but this ensures we match the opening quotation mark as well.
1 parent 8df5a37 commit f203cb0

File tree

1 file changed

+1
-1
lines changed
  • clang/test/CXX/expr/expr.unary/expr.sizeof

1 file changed

+1
-1
lines changed

clang/test/CXX/expr/expr.unary/expr.sizeof/p5-0x.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ template<int Value> struct count_ints_2 {
3333
template<typename ...Types> // expected-note{{parameter pack 'Types' declared here}}
3434
struct count_types_2 {
3535
static const unsigned value = sizeof... Type; // expected-error{{missing parentheses around the size of parameter pack 'Type'}} \
36-
// expected-error{{Type' does not refer to the name of a parameter pack; did you mean 'Types'?}}
36+
// expected-error{{'Type' does not refer to the name of a parameter pack; did you mean 'Types'?}}
3737
};
3838

0 commit comments

Comments
 (0)