aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/constexpr-value-init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/constexpr-value-init.cpp')
-rw-r--r--test/SemaCXX/constexpr-value-init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/constexpr-value-init.cpp b/test/SemaCXX/constexpr-value-init.cpp
index e5b7db50eb65..9ad11290190f 100644
--- a/test/SemaCXX/constexpr-value-init.cpp
+++ b/test/SemaCXX/constexpr-value-init.cpp
@@ -9,7 +9,7 @@ struct B {
A a;
};
-constexpr A a; // ok, zero initialization preceeds static initialization
+constexpr A a; // ok, zero initialization precedes static initialization
void f() {
constexpr A a; // expected-error {{constant expression}} expected-note {{in call to 'A()'}}
}