diff options
Diffstat (limited to 'clang/test/SemaCXX/constructor.cpp')
-rw-r--r-- | clang/test/SemaCXX/constructor.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/constructor.cpp b/clang/test/SemaCXX/constructor.cpp index 536593d5120..68099ecac96 100644 --- a/clang/test/SemaCXX/constructor.cpp +++ b/clang/test/SemaCXX/constructor.cpp @@ -1,5 +1,4 @@ // RUN: clang -fsyntax-only -verify %s - typedef int INT; class Foo { @@ -37,3 +36,7 @@ struct y { y(int); }; extern y b; + +struct Length { + Length l() const { return *this; } +}; |