mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-25 20:51:10 +00:00
Test change for the merge queue. --------- Co-authored-by: Chandler Carruth <chandlerc@gmail.com>
21 lines
420 B
Plaintext
21 lines
420 B
Plaintext
// 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
|
|
//
|
|
// AUTOUPDATE
|
|
// CHECK:STDOUT: Destructor
|
|
// CHECK:STDOUT: result: 0
|
|
|
|
package ExplorerTest api;
|
|
|
|
class C {
|
|
destructor[self: Self] {
|
|
Print("Destructor");
|
|
}
|
|
}
|
|
|
|
fn Main() -> i32 {
|
|
var c_var_test: C = {};
|
|
return 0;
|
|
}
|