diff options
| author | Rafael Ávila de Espíndola <[email protected]> | 2011-01-19 16:13:33 -0500 |
|---|---|---|
| committer | Rafael Ávila de Espíndola <[email protected]> | 2011-01-19 16:13:33 -0500 |
| commit | 35d53b7eb17c17ac492aa67f843c94e8db1731e1 (patch) | |
| tree | de6d3c190daaa01cb87018c63ec69d18255f6e13 /src/test | |
| parent | Fold function output and argument types. With this change we fail to compile (diff) | |
| download | rust-35d53b7eb17c17ac492aa67f843c94e8db1731e1.tar.xz rust-35d53b7eb17c17ac492aa67f843c94e8db1731e1.zip | |
Look at the type params of an item_ty when resolving.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/run-pass/type-param.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/run-pass/type-param.rs b/src/test/run-pass/type-param.rs new file mode 100644 index 00000000..9525190d --- /dev/null +++ b/src/test/run-pass/type-param.rs @@ -0,0 +1,5 @@ +type lteq[T] = fn(&T a) -> bool; + +fn main(vec[str] args) { + +} |