From 2a404cdfd8bc75de593ce0e15fff0a7a0a18ec1c Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 15 Apr 2022 15:11:29 -0700 Subject: [PATCH] [randstruct] Force errors for all platforms --- clang/test/Sema/init-randomized-struct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/Sema/init-randomized-struct.c b/clang/test/Sema/init-randomized-struct.c index 87842e1..7ce1916 100644 --- a/clang/test/Sema/init-randomized-struct.c +++ b/clang/test/Sema/init-randomized-struct.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 %s -verify -fsyntax-only -frandomize-layout-seed=1234567890abcdef +// RUN: %clang_cc1 %s -verify -fsyntax-only -Werror -frandomize-layout-seed=1234567890abcdef // Initializing a randomized structure requires a designated initializer, // otherwise the element ordering will be off. The only exceptions to this rule -- 2.7.4