aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/abstract.h
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-08-18 13:12:09 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:17:12 -0300
commitb7169ca7fe92c5874076ff47f9b4ec7954acc480 (patch)
tree3ff52c75c31e11583fb24a57423638410a1a14ea /tests/libsample/abstract.h
parent4f782f5d0f97633261690a19de7dfa62eeec2741 (diff)
Added a test case for a bit-field structure member.
Also moved a couple of tests from samplebindings to otherbindings.
Diffstat (limited to 'tests/libsample/abstract.h')
-rw-r--r--tests/libsample/abstract.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/libsample/abstract.h b/tests/libsample/abstract.h
index 95c1c3a0d..feeec980e 100644
--- a/tests/libsample/abstract.h
+++ b/tests/libsample/abstract.h
@@ -92,8 +92,10 @@ public:
protected:
virtual const char* className() { return "Abstract"; }
+ // Protected bit-field structure member.
+ unsigned int bitField: 1;
+
private:
int m_id;
};
#endif // ABSTRACT_H
-