// Copyright 2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 or the MIT license // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. fn f(_: T,) {} struct Foo; struct Bar; impl Bar { fn f(_: int,) {} fn g(self, _: int,) {} fn h(self,) {} } enum Baz { Qux(int,), } pub fn main() { f::(0i,); let (_, _,) = (1i, 1i,); let x: Foo = Foo::; Bar::f(0i,); Bar.g(0i,); Bar.h(); let x = Qux(1,); }