Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
7ee8906295d56ceb84b8b3da502cdc8770509868
/
.
/
test
/
Misc
/
diag-template-diffing-cxx98.cpp
blob: cd40ccc3748a6ad4923f2d7d05a2d274c3fa7e5f [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only %s -std=c++98 2>&1 | FileCheck %s
namespace
PR14342
{
template
<
typename
T
,
char
a
>
struct
X
{};
X
<
int
,
1
>
x
=
X
<
long
,
257
>();
// CHECK: error: no viable conversion from 'X<long, [...]>' to 'X<int, [...]>'
}