Skip to content
Merged
Changes from all commits
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
8 changes: 8 additions & 0 deletions test/testother.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2629,6 +2629,14 @@ class TestOther : public TestFixture {
check("void f(const std::array<int, 10> a[]) {}\n"); // #13524
ASSERT_EQUALS("", errout_str());

check("struct S {\n" // #10733
" std::vector<int> v;\n"
" using F = void (*)();\n"
" void func(F f);\n"
"};\n"
"void S::func(S::F f) {}\n");
ASSERT_EQUALS("", errout_str());

/*const*/ Settings settingsWin64 = settingsBuilder().platform(Platform::Type::Win64).build();
check("using ui64 = unsigned __int64;\n"
"ui64 Test(ui64 one, ui64 two) { return one + two; }\n",
Expand Down
Loading