summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-11-06 19:43:09 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-11-06 19:43:09 +0000
commit9dbc57436b1ac751b800acf606a756dd28e76917 (patch)
treed2e6ca011693cdfcfc0d3ba34fab489473f11dec /clang/test/SemaCXX
parent79c927bfe9fc9d2a3972e9f906bce30b96e2e852 (diff)
downloadbcm5719-llvm-9dbc57436b1ac751b800acf606a756dd28e76917.tar.gz
bcm5719-llvm-9dbc57436b1ac751b800acf606a756dd28e76917.zip
Fix diagnostic goof in r194161.
llvm-svn: 194162
Diffstat (limited to 'clang/test/SemaCXX')
-rw-r--r--clang/test/SemaCXX/operator-arrow-depth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/operator-arrow-depth.cpp b/clang/test/SemaCXX/operator-arrow-depth.cpp
index 4e098823ae8..3e2ba8e4522 100644
--- a/clang/test/SemaCXX/operator-arrow-depth.cpp
+++ b/clang/test/SemaCXX/operator-arrow-depth.cpp
@@ -22,5 +22,5 @@ A<MAX/2> good;
int n = good->n;
B<MAX/2 + 1> bad;
-int m = bad->n; // expected-error-re {{use of 'operator->' on type 'B<(1|5|64)>' would invoke a sequence of more than (2|10|128) 'operator->' calls}}
+int m = bad->n; // expected-error-re {{use of 'operator->' on type 'B<(2|10|128) / 2 \+ 1>' would invoke a sequence of more than (2|10|128) 'operator->' calls}}
// expected-note@-1 {{use -foperator-arrow-depth=N to increase 'operator->' limit}}
OpenPOWER on IntegriCloud