Skip to content

Commit

Permalink
[NFC][tests][AIX] XFAIL test for lack of visibility support
Browse files Browse the repository at this point in the history
With the addition of `__attribute__((visibility("hidden")))` to the test, the test fails because AIX's current default behaviour is to ignore hidden visibility, so the expected error is not seen. This patch marks the test `XFAIL` on AIX for now.

Reviewed By: cebowleratibm

Differential Revision: https://reviews.llvm.org/D122519
  • Loading branch information
jakeegan committed Mar 28, 2022
1 parent 281b7ee commit f5a9b5c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clang/test/OpenMP/target_update_messages.cpp
@@ -1,3 +1,6 @@
// Visibility hidden is not currently implemented on AIX.
// XFAIL: aix

// RUN: %clang_cc1 -verify=expected,lt50,lt51 -fopenmp -fopenmp-version=45 -ferror-limit 100 -o - -std=c++11 %s -Wuninitialized
// RUN: %clang_cc1 -verify=expected,ge50,lt51 -fopenmp -fopenmp-version=50 -ferror-limit 100 -o - -std=c++11 %s -Wuninitialized
// RUN: %clang_cc1 -verify=expected,ge50,ge51 -fopenmp -fopenmp-version=51 -ferror-limit 100 -o - -std=c++11 %s -Wuninitialized
Expand Down

0 comments on commit f5a9b5c

Please sign in to comment.