summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CXX')
-rw-r--r--clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/p7.cpp2
-rw-r--r--clang/test/CXX/expr/expr.unary/expr.sizeof/p1.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/p7.cpp b/clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/p7.cpp
index 0f8f5f5e75d..81e2ca5f1e4 100644
--- a/clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/p7.cpp
+++ b/clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/p7.cpp
@@ -16,5 +16,5 @@ static_assert(alignof(Y<char, int, sizeof(int)>) == alignof(int), "");
static_assert(alignof(Y<int, char, 1>) == alignof(int), ""); // expected-note {{in instantiation of}}
void pr16992 () {
- int x = alignof int; // expected-error{{missed parentheses around type name in alignof}}
+ int x = alignof int; // expected-error {{expected parentheses around type name in alignof expression}}
}
diff --git a/clang/test/CXX/expr/expr.unary/expr.sizeof/p1.cpp b/clang/test/CXX/expr/expr.unary/expr.sizeof/p1.cpp
index c8a91892a93..aa76b3a7346 100644
--- a/clang/test/CXX/expr/expr.unary/expr.sizeof/p1.cpp
+++ b/clang/test/CXX/expr/expr.unary/expr.sizeof/p1.cpp
@@ -31,7 +31,7 @@ namespace pr16992 {
template<typename T> struct ABC {
int func () {
- return sizeof T; //expected-error{{missed parentheses around type name in sizeof}}
+ return sizeof T; // expected-error {{expected parentheses around type name in sizeof expression}}
}
};
OpenPOWER on IntegriCloud