[X86] Fix x86-header-warnings.c test not detecting regressions as intended.
authorPierre Gousseau <pierre.gousseau@sony.com>
Wed, 8 Apr 2020 14:15:39 +0000 (15:15 +0100)
committerPierre Gousseau <pierre.gousseau@sony.com>
Wed, 8 Apr 2020 14:22:44 +0000 (15:22 +0100)
commit937e63b8d5e961c2a7da25558bbcdd5388182b67
tree1fe560a6526308112bb66450d36b385ce4dc6034
parent898e22908c4f240f4b7b2b83411acb59478e73d6
[X86] Fix x86-header-warnings.c test not detecting regressions as intended.

Use -verify -fsyntax-only and expected-no-diagnostics as
recommended by Paul.

Reviewed By: probinson

Differential Revision: https://reviews.llvm.org/D77393
clang/test/Headers/x86-header-warnings.c