summaryrefslogtreecommitdiffstats
path: root/tests/diagnostics/pragma-warning-multifile-impl2.slang
blob: 16bffe6a8a486aca9662f7ae18f478a2899f4c46 (plain)
1
2
3
4
5
6
7
8
9
10
11
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
implementing test_pragma_warning;

namespace impl2
{
    interface IConvertibleFrom<From> {}

    // This should still NOT produce warning 30856 (but currently does due to the bug)
    extension<From : __BuiltinFloatingPointType, To : IConvertibleFrom<From>, let N : int>
    vector<To, N> : IConvertibleFrom<vector<From, N>> {}
}