diff options
Diffstat (limited to 'tests/webidl/test.h')
-rw-r--r-- | tests/webidl/test.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/webidl/test.h b/tests/webidl/test.h index d8eb0fbc..5d13846c 100644 --- a/tests/webidl/test.h +++ b/tests/webidl/test.h @@ -11,6 +11,7 @@ public: int getVal() { return value; }; // inline should work just fine here, unlike Way 1 before void mulVal(int mul); void parentFunc() {} + const Parent *getAsConst() { return NULL; } }; class Child1 : public Parent { |