diff options
Diffstat (limited to 'final/ABI-Testsuite/test/mangling/tc_n.xpp')
-rwxr-xr-x | final/ABI-Testsuite/test/mangling/tc_n.xpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/final/ABI-Testsuite/test/mangling/tc_n.xpp b/final/ABI-Testsuite/test/mangling/tc_n.xpp new file mode 100755 index 00000000..fcbd9521 --- /dev/null +++ b/final/ABI-Testsuite/test/mangling/tc_n.xpp @@ -0,0 +1,15 @@ +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// RUN: cxx_compiler -c %s -o %t.o +// RUN: bindump %t.o | FileCheck prefixes %s + +#include <climits> + +template <unsigned long I> void foo4(); + +// 64bit unsigned long +// LP64-DAG: _Z4foo4ILm18446744073709551615EEvv +// ILP32-DAG: _Z4foo4ILm4294967295EEvv +template <> void foo4<ULONG_MAX>() {} + |