Fix ext-int Sema test that didn't specify a triple.
authorErich Keane <erich.keane@intel.com>
Wed, 29 Apr 2020 21:29:58 +0000 (14:29 -0700)
committerErich Keane <erich.keane@intel.com>
Wed, 29 Apr 2020 21:34:53 +0000 (14:34 -0700)
I added a limit to make sure that _ExtInt isn't exposed on systems that
haven't considered it in their ABI.  The ext-int.cpp Sema test didn't
have a triple, so on non x86/x86_64 it would fail with this new error.

This patch adds said triple to make sure this passes.

clang/test/SemaCXX/ext-int.cpp

index 6a06280..cf94fd1 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s -Wimplicit-int-conversion
+// RUN: %clang_cc1 -fsyntax-only -verify %s -Wimplicit-int-conversion -triple x86_64-gnu-linux
 
 template<int Bounds>
 struct HasExtInt {