mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 19:51:09 +01:00
Switch executable_semantics to lit/filecheck tests. (#819)
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
// Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
||||
// Exceptions. See /LICENSE for license information.
|
||||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||||
//
|
||||
// RUN: not executable_semantics %s 2>&1 2>&1 | FileCheck %s
|
||||
|
||||
package ExecutableSemanticsTest api;
|
||||
|
||||
@@ -13,3 +15,8 @@ fn main() -> i32 {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// AUTOUPDATE: executable_semantics %s
|
||||
// CHECK: COMPILATION ERROR: {{.*}}/tuple_equality3.carbon:12: type error in ==
|
||||
// CHECK: expected: (0 = i32, 1 = i32)
|
||||
// CHECK: actual: (0 = i32)
|
||||
|
||||
Reference in New Issue
Block a user