From f36dcdac5bc8fdfe9b3f6ea9cfda11ad43da19ef Mon Sep 17 00:00:00 2001 From: Richard Trieu Date: Wed, 5 Sep 2018 21:55:09 +0000 Subject: [PATCH] Add triple to test case. This test uses enums, which have different behavior when targeting different systems. Specifying a triple will give predictable behavior to this test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341496 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Modules/odr_hash.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/Modules/odr_hash.cpp b/test/Modules/odr_hash.cpp index 3cfda89d16..e4c5ba6f82 100644 --- a/test/Modules/odr_hash.cpp +++ b/test/Modules/odr_hash.cpp @@ -25,7 +25,9 @@ // RUN: echo "}" >> %t/Inputs/module.map // Run test -// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache -x c++ -I%t/Inputs -verify %s -std=c++1z -fcolor-diagnostics +// RUN: %clang_cc1 -triple x86_64-linux-gnu -x c++ -std=c++1z \ +// RUN: -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache \ +// RUN: -I%t/Inputs -verify %s #if !defined(FIRST) && !defined(SECOND) #include "first.h" -- 2.40.0