summaryrefslogtreecommitdiff
path: root/tests/control-semantic/argument-incompatible-type-ref.test
blob: a7ea6f275b0b377b8480e590a849d8b460151d25 (plain)
1
2
3
4
5
6
7
8
9
Invalid Code

void foo (ref string arg) {
}

void main () {
	int i = 42;
	foo (ref i);
}