Skip to content

Commit e60a8dd

Browse files
authored
Merge pull request #1460 from google/1269-test-only
1269 test only
2 parents a78d361 + 84b1f38 commit e60a8dd

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

integration-tests/tests/integration_test.rs

+13
Original file line numberDiff line numberDiff line change
@@ -6057,6 +6057,19 @@ fn test_error_generated_for_pod_with_nontrivial_destructor() {
60576057
run_test_expect_fail("", hdr, rs, &["take_a"], &["A"]);
60586058
}
60596059

6060+
#[test]
6061+
#[ignore] // https://github.com/google/autocxx/issues/1269
6062+
fn test_error_generated_for_double_underscore() {
6063+
// take_a is necessary here because cxx won't generate the required
6064+
// static assertions unless the type is actually used in some context
6065+
// where cxx needs to decide it's trivial or non-trivial.
6066+
let hdr = indoc! {"
6067+
inline void __thingy() {}
6068+
"};
6069+
let rs = quote! {};
6070+
run_test_expect_fail("", hdr, rs, &["__thingy"], &[]);
6071+
}
6072+
60606073
#[test]
60616074
fn test_error_generated_for_pod_with_nontrivial_move_constructor() {
60626075
// take_a is necessary here because cxx won't generate the required

0 commit comments

Comments
 (0)