Test #pragma nodestruct

This commit is contained in:
Y_Less 2018-10-04 14:07:39 +02:00
parent 4dd38ffd82
commit 351d0086ad
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,6 @@
{
'test_type': 'output_check',
'errors': """
gh_258.pwn(11) : warning 203: symbol is never used: "operator~(Tag:)"
"""
}

View File

@ -0,0 +1,9 @@
operator~(Tag:var[], size) {
}
main() {
new Tag:a;
#pragma unused a
#pragma nodestruct a
}