[NFC] Remove max_align.c LIT testcase
authorXiangling Liao <Xiangling.Liao@ibm.com>
Mon, 26 Oct 2020 21:11:57 +0000 (17:11 -0400)
committerXiangling Liao <Xiangling.Liao@ibm.com>
Mon, 26 Oct 2020 21:14:30 +0000 (17:14 -0400)
Since we fixed the definition of `SuitableAlign`[https://reviews.llvm.org/D88659],
`max_align_t` and `__BIGGEST_ALIGNMENT__` are not necessarily the same always.

The original testcase was added here: https://reviews.llvm.org/D59048

Differential Revision: https://reviews.llvm.org/D90187

clang/test/Headers/max_align.c [deleted file]

diff --git a/clang/test/Headers/max_align.c b/clang/test/Headers/max_align.c
deleted file mode 100644 (file)
index 67a914d..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-// RUN: %clang_cc1 -fsyntax-only -std=c11 -verify %s
-// expected-no-diagnostics
-
-// XFAIL: windows-, i686
-
-#ifndef __BIGGEST_ALIGNMENT__
-#error __BIGGEST_ALIGNMENT__ not defined
-#endif
-
-#include <stddef.h>
-
-_Static_assert(__BIGGEST_ALIGNMENT__ == _Alignof(max_align_t), "");