Commit 6efe1abf by Jason Merrill

fix markup

From-SVN: r142401
parent f6ab27bb
...@@ -8,7 +8,7 @@ struct b ...@@ -8,7 +8,7 @@ struct b
b() = default; b() = default;
~b() = default; ~b() = default;
b& operator=(const b&) = delete; b& operator=(const b&) = delete;
b(const b&) = delete; b(const b&) = delete; // { dg-error "deleted" }
b(bool _t): t (_t) { } b(bool _t): t (_t) { }
}; };
...@@ -19,7 +19,7 @@ int main() ...@@ -19,7 +19,7 @@ int main()
b tst1 = { false }; b tst1 = { false };
// copy initialization. // copy initialization.
b tst2 = false; // { dg-error "deleted" } b tst2 = false; // { dg-error "used here" }
// direct list initialization // direct list initialization
b tst3 { false }; b tst3 { false };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment