diff options
Diffstat (limited to 'test/SemaCXX/PR10243.cpp')
-rw-r--r-- | test/SemaCXX/PR10243.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaCXX/PR10243.cpp b/test/SemaCXX/PR10243.cpp index 129ff80..19a8b04 100644 --- a/test/SemaCXX/PR10243.cpp +++ b/test/SemaCXX/PR10243.cpp @@ -9,12 +9,12 @@ struct T0 { struct T1 { S s; // expected-error{{field has incomplete type 'S'}} - T1(T1&) = default; + T1(const T1&) = default; }; struct T2 { S s; // expected-error{{field has incomplete type 'S'}} - T2& operator=(T2&) = default; + T2& operator=(const T2&) = default; }; struct T3 { |