blob: 61a5f6df3de0e11b3c5b81f674041591f35e21dc (
plain)
1
2
3
4
5
6
7
|
//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK):
// Check that we can issue diagnostic on invalid left hand side of a type constraint.
// CHECK: ([[# @LINE+1]]): error 30402
void f<T>() where int : IInteger
{}
|