blob: 310d4ecd03f3ac1f2c57ac0b04cd082788991997 [file] [log] [blame]
Huon Wilsond9a204b2014-01-27 04:28:041// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
Huon Wilson812ea9e2013-11-07 07:49:012// file at the top-level directory of this distribution and at
3// http://rust-lang.org/COPYRIGHT.
4//
5// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8// option. This file may not be copied, modified, or distributed
9// except according to those terms.
10
Alex Crichton748bc3c2014-05-30 00:45:0711// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
Huon Wilson812ea9e2013-11-07 07:49:0112
Huon Wilson198caa82014-03-02 00:33:2413extern crate rand;
Huon Wilsond9a204b2014-01-27 04:28:0414
15
16struct Error;
Huon Wilson812ea9e2013-11-07 07:49:0117
Nick Cameron30e14922014-12-31 04:32:4918#[derive(PartialEq)]
Huon Wilsond9a204b2014-01-27 04:28:0419struct Struct {
20 x: Error //~ ERROR
21//~^ ERROR
Huon Wilson812ea9e2013-11-07 07:49:0122}
23
Huon Wilsond9a204b2014-01-27 04:28:0424fn main() {}