diff options
Diffstat (limited to 'test/FixIt/no-fixit.cpp')
-rw-r--r-- | test/FixIt/no-fixit.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/FixIt/no-fixit.cpp b/test/FixIt/no-fixit.cpp index 7e8e1fbbb07b..2dad28d3579b 100644 --- a/test/FixIt/no-fixit.cpp +++ b/test/FixIt/no-fixit.cpp @@ -11,3 +11,15 @@ struct { (void)&i; } } x; + +namespace dotPointerDestructor { + +struct Bar { + ~Bar() = delete; +}; + +void bar(Bar *o) { + o.~Bar(); // no fixit +} + +} |