/src/test/run-pass/generic-tag-local.rs

http://github.com/jruderman/rust · Rust · 5 lines · 2 code · 3 blank · 0 comment · 0 complexity · 752bc4d80fc1bc932481b13b08993070 MD5 · raw file

  1. enum clam<T> { a(T), }
  2. fn main() { let c = a(3); }