diff options
Diffstat (limited to '')
| -rw-r--r-- | src/tests/sharedcore.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tests/sharedcore.cpp b/src/tests/sharedcore.cpp index 9f65ac5..381661a 100644 --- a/src/tests/sharedcore.cpp +++ b/src/tests/sharedcore.cpp | |||
| @@ -78,5 +78,14 @@ int main() | |||
| 78 | 78 | ||
| 79 | line( a.setVal( b.getVal() ); ) | 79 | line( a.setVal( b.getVal() ); ) |
| 80 | line( a == b; ) | 80 | line( a == b; ) |
| 81 | |||
| 82 | { | ||
| 83 | Shint c( b ); | ||
| 84 | Shint d( c ); | ||
| 85 | sio << c.getVal(); | ||
| 86 | d.setVal( 43 ); | ||
| 87 | } | ||
| 88 | |||
| 89 | sio << b.getVal(); | ||
| 81 | } | 90 | } |
| 82 | 91 | ||
