diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-08-28 16:04:54 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-08-28 16:04:54 +0200 |
| commit | 0b652d72783d7fa432e357659b2b2ef4a140fa8a (patch) | |
| tree | dda01c9495dfbff70f7970879bfb034bedd621c5 /sys/test.txt | |
| parent | 4074aed7c0c28afc7d4a3522045196c3f39b5208 (diff) | |
pkg/compiler: tolerate unsupported consts everywhere
Currently unsupported consts in structs and resources break build.
However, that can well happen for arch-specific devices (e.g. Android).
Make this non-fatal as it used to be.
Diffstat (limited to 'sys/test.txt')
| -rw-r--r-- | sys/test.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/test.txt b/sys/test.txt index ded19ae0b..491196ab3 100644 --- a/sys/test.txt +++ b/sys/test.txt @@ -518,3 +518,12 @@ resource syz_res[int32]: 0xffff syz_test$res0() syz_res syz_test$res1(a0 syz_res) + +# KVM_ARM_VCPU_INIT const is not present on all arches. +# Ensure that it does not break build. + +resource syz_missing_const_res[int32]: KVM_ARM_VCPU_INIT + +syz_missing_const_struct { + a0 const[KVM_ARM_VCPU_INIT, int32] +} |
