diff options
| -rw-r--r-- | test cases/common/197 function attributes/meson.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test cases/common/197 function attributes/meson.build b/test cases/common/197 function attributes/meson.build index 8ef6b741d..530db9313 100644 --- a/test cases/common/197 function attributes/meson.build +++ b/test cases/common/197 function attributes/meson.build @@ -91,6 +91,11 @@ if host_machine.system() != 'darwin' attributes += 'alloc_size' endif +# gcc doesn't support constructor_priority on darwin +if c.get_id() == 'gcc' and host_machine.system() == 'darwin' + expected += {'constructor_priority': false} +endif + if ['gcc', 'intel'].contains(c.get_id()) # not supported by clang as of 5.0.0 (at least up to 6.0.1) attributes += 'artificial' |
