summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1502-3.cs
blob: f85564b9ac739def2b6d6e040253cbfd2e3fc448 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS1502: The best overloaded method match for `T.Blah(out int)' has some invalid arguments
// Line: 11

using System;

class T {
        static void Blah (out int g) { g = 0; }

        static int Main (string [] args) {
                IntPtr g;
                Blah (out g);
		return (int) g;
        }
}