diff options
author | Przemyslaw Gorszkowski <pgorszkowski@gmail.com> | 2014-06-06 22:37:23 +0200 |
---|---|---|
committer | Przemyslaw Gorszkowski <pgorszkowski@gmail.com> | 2014-06-13 08:04:37 +0200 |
commit | 21007a6b5d70bbe8e0b0c526799805a5b263ed3b (patch) | |
tree | fb7a803f64285b5ccad496a01b5531285097ff99 | |
parent | 2ad3147542a45436733ddd7014993bcc3022a654 (diff) |
C++: add test for anonymous with __attribute__
Change-Id: I1938ed1bf45523ec62f35bc3324f6553c0dafe22
Sanity-Review: Qt Sanity Bot <qt_sanitybot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
-rw-r--r-- | tests/auto/cplusplus/ast/tst_ast.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/cplusplus/ast/tst_ast.cpp b/tests/auto/cplusplus/ast/tst_ast.cpp index 4010ba1e26..e6bd386d7b 100644 --- a/tests/auto/cplusplus/ast/tst_ast.cpp +++ b/tests/auto/cplusplus/ast/tst_ast.cpp @@ -1779,6 +1779,7 @@ void tst_AST::unnamed_class_data() typedef QByteArray _; QTest::newRow("unnamed-only") << _("class {};"); QTest::newRow("unnamed-derived") << _("class : B {};"); + QTest::newRow("unnamed-__attribute__") << _("class __attribute__((aligned(8))){};"); } void tst_AST::initTestCase() |