Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test for typedefs to references. #1308

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Slightly simplify test.
adetaylor committed Jun 28, 2023
commit 40ad6bfb2ae3be87ea089e93079a7a7e491cacd8
3 changes: 0 additions & 3 deletions integration-tests/tests/integration_test.rs
Original file line number Diff line number Diff line change
@@ -12244,14 +12244,11 @@ fn test_ignore_va_list() {
#[test]
fn test_reference_const_char_cast() {
let hdr = indoc! {"
#include <cstddef>

class Bytes {
public:
typedef const char& reference;
private:
const char *d_ptr;
std::size_t d_length;
public:
reference front() const { return d_ptr[0]; }
};