[OpenACC] Enable 'attach' clause for combined constructs
[llvm-project.git] / clang / test / Frontend / warning-mapping-4.c
bloba98136386e6ab6340c3d40c485e61bde3ce10047
1 // Verify that various combinations of flags properly keep the sign-compare
2 // warning disabled.
4 // RUN: %clang_cc1 -verify -Wno-error=sign-compare %s
5 // RUN: %clang_cc1 -verify -Wsign-compare -w -Wno-error=sign-compare %s
6 // RUN: %clang_cc1 -verify -w -Werror=sign-compare %s
7 // expected-no-diagnostics
9 int f0(int x, unsigned y) {
10 return x < y;