diff options
Diffstat (limited to 'test/test43.cpp')
-rw-r--r-- | test/test43.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test43.cpp b/test/test43.cpp index dd44f0a..103de1c 100644 --- a/test/test43.cpp +++ b/test/test43.cpp @@ -1,8 +1,14 @@ struct Data1; struct Data2; +Data2 *d1 __attribute__((nonnullpointer)); + struct Data2 { + Data2() : + val(d1->val) + { + } int val; Data1 *ptrval; int arr[3]; |