File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ struct D {
58
58
59
59
struct D2 {
60
60
void ~D2 () { } // \
61
- // expected-error{{destructor cannot have a return type}}
61
+ // expected-error{{destructor cannot have a return type}}
62
62
};
63
63
64
64
@@ -86,7 +86,7 @@ struct G {
86
86
G::~G () { }
87
87
88
88
struct H {
89
- ~H (void ) { }
89
+ ~H (void ) { }
90
90
};
91
91
92
92
struct X {};
@@ -103,7 +103,7 @@ namespace PR6421 {
103
103
template <typename U>
104
104
void foo (T t) // expected-error{{variable has incomplete type}}
105
105
{ }
106
-
106
+
107
107
void disconnect ()
108
108
{
109
109
T* t;
@@ -364,7 +364,7 @@ struct __is_destructor_wellformed {
364
364
decltype (_Tp1().~_Tp1())>::type);
365
365
template <typename _Tp1>
366
366
static __two __test (...);
367
-
367
+
368
368
static const bool value = sizeof (__test<_Tp>(12 )) == sizeof(char );
369
369
};
370
370
You can’t perform that action at this time.
0 commit comments