/*
 * Bug 471512 test case
 */
using GLib;

class Baz<G> : Object {
        public static G bar(G i) {
                return i;
        }
}

class Bar : Object {
        public static int main(string[] args) {
                var a = "B471512 resolved";
                stdout.printf( "%s\n", Baz<string>.bar(a) );
		return 0;
        }
}
