diff options
author | Roberto Raggi <qtc-committer@nokia.com> | 2009-01-07 10:38:24 +0100 |
---|---|---|
committer | Roberto Raggi <qtc-committer@nokia.com> | 2009-01-07 10:38:24 +0100 |
commit | ffbc28cbbd544e4c22f542322a9ea10a7660b8fc (patch) | |
tree | 67c543fc2d2752d42bdf1a3ba0aa7157e68e39e4 /tests/manual/cplusplus | |
parent | 0449c67f033c59c10fe86e0ca869a8e8b77f333c (diff) | |
download | qt-creator-ffbc28cbbd544e4c22f542322a9ea10a7660b8fc.tar.gz |
Added a space before cv-qualifiers in a function declarator.
Diffstat (limited to 'tests/manual/cplusplus')
-rw-r--r-- | tests/manual/cplusplus/tests/t1.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/manual/cplusplus/tests/t1.cpp b/tests/manual/cplusplus/tests/t1.cpp index 8687efb48f..186d9fbea7 100644 --- a/tests/manual/cplusplus/tests/t1.cpp +++ b/tests/manual/cplusplus/tests/t1.cpp @@ -23,6 +23,8 @@ class Class { }; class Derived: public Class { + operator bool() const volatile throw () { return 1; } + Derived &operator++() {} }; class Derived2: public Class, public virtual Derived {}; |