]> granicus.if.org Git - clang/commitdiff
Add triple to test case.
authorRichard Trieu <rtrieu@google.com>
Wed, 5 Sep 2018 21:55:09 +0000 (21:55 +0000)
committerRichard Trieu <rtrieu@google.com>
Wed, 5 Sep 2018 21:55:09 +0000 (21:55 +0000)
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

index 3cfda89d16a6a2754a8bb98bebcffb9087a4e9c3..e4c5ba6f82a8467880b0e380a969f0f0c0270cc4 100644 (file)
@@ -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"