diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-09-25 00:43:37 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-09-25 00:43:37 -0700 |
| commit | 30862a64c29985b044d9bf6f74fcf1394bc145c7 (patch) | |
| tree | 712da0df6bd5e3661431ec069fa814d048dc703a /src/test/run-pass/deriving-clone-generic-tuple-struct.rs | |
| parent | 10a583ce1ac28a8cbf34b0f4274285f33bdfce29 (diff) | |
| download | rust-30862a64c29985b044d9bf6f74fcf1394bc145c7.tar.gz rust-30862a64c29985b044d9bf6f74fcf1394bc145c7.zip | |
Fix run-pass tests to have 'pub fn main'
This is required by the check-fast target because each test is slurped up into a submodule.
Diffstat (limited to 'src/test/run-pass/deriving-clone-generic-tuple-struct.rs')
| -rw-r--r-- | src/test/run-pass/deriving-clone-generic-tuple-struct.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/deriving-clone-generic-tuple-struct.rs b/src/test/run-pass/deriving-clone-generic-tuple-struct.rs index c082a11eab8..02043b524a9 100644 --- a/src/test/run-pass/deriving-clone-generic-tuple-struct.rs +++ b/src/test/run-pass/deriving-clone-generic-tuple-struct.rs @@ -11,6 +11,6 @@ #[deriving(Clone, DeepClone)] struct S<T>(T, ()); -fn main() { +pub fn main() { let _ = S(1i, ()).clone().deep_clone(); } |
