From: Hans Wennborg Date: Fri, 6 Jun 2014 17:51:25 +0000 (+0000) Subject: test/SemaCXX/undefined-internal.cpp: Remove target triple. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=90a108e0ebda1f9a61be251e693bf8b28d9b5dba;p=clang test/SemaCXX/undefined-internal.cpp: Remove target triple. This test seems to run fine in both MS and Itanium C++ ABI mode these days. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210357 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaCXX/undefined-internal.cpp b/test/SemaCXX/undefined-internal.cpp index 1cb0708a53..f32036a025 100644 --- a/test/SemaCXX/undefined-internal.cpp +++ b/test/SemaCXX/undefined-internal.cpp @@ -1,10 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // Make sure we don't produce invalid IR. -// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm-only %s - -// FIXME: Itanium shouldn't be necessary; the test should pass -// in MS mode too. +// RUN: %clang_cc1 -emit-llvm-only %s namespace test1 { static void foo(); // expected-warning {{function 'test1::foo' has internal linkage but is not defined}}