diff options
| author | Michael Woerister <michaelwoerister@posteo.net> | 2016-05-26 13:04:35 -0400 |
|---|---|---|
| committer | Michael Woerister <michaelwoerister@posteo.net> | 2016-07-08 10:42:47 -0400 |
| commit | 3a47103f1d2bbf144d3866abc9fe74a9143d2988 (patch) | |
| tree | 5f961e354bb3720b36c19a0c2c8c3dec2a2d90ba /src/test/codegen | |
| parent | 283c94cd49c8b7cf0b565902686db5fb0cf3e6fd (diff) | |
| download | rust-3a47103f1d2bbf144d3866abc9fe74a9143d2988.tar.gz rust-3a47103f1d2bbf144d3866abc9fe74a9143d2988.zip | |
Fix codegen tests by make sure items are translated in AST order.
Diffstat (limited to 'src/test/codegen')
| -rw-r--r-- | src/test/codegen/drop.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/test/codegen/drop.rs b/src/test/codegen/drop.rs index 83dd6a3b002..25f8c130469 100644 --- a/src/test/codegen/drop.rs +++ b/src/test/codegen/drop.rs @@ -31,13 +31,13 @@ pub fn droppy() { // that's one new drop call per call to possibly_unwinding(), and finally 3 drop calls for the // regular function exit. We used to have problems with quadratic growths of drop calls in such // functions. -// CHECK: call{{.*}}SomeUniqueName{{.*}}drop -// CHECK: call{{.*}}SomeUniqueName{{.*}}drop -// CHECK: call{{.*}}SomeUniqueName{{.*}}drop -// CHECK: call{{.*}}SomeUniqueName{{.*}}drop -// CHECK: call{{.*}}SomeUniqueName{{.*}}drop -// CHECK: call{{.*}}SomeUniqueName{{.*}}drop -// CHECK-NOT: call{{.*}}SomeUniqueName{{.*}}drop +// CHECK: call{{.*}}drop{{.*}}SomeUniqueName +// CHECK: call{{.*}}drop{{.*}}SomeUniqueName +// CHECK: call{{.*}}drop{{.*}}SomeUniqueName +// CHECK: call{{.*}}drop{{.*}}SomeUniqueName +// CHECK: call{{.*}}drop{{.*}}SomeUniqueName +// CHECK: call{{.*}}drop{{.*}}SomeUniqueName +// CHECK-NOT: call{{.*}}drop{{.*}}SomeUniqueName // The next line checks for the } that ends the function definition // CHECK-LABEL: {{^[}]}} let _s = SomeUniqueName; |
