Skip to content

Commit 0cde666

Browse files
Update test64bit.cpp
1 parent 05b7173 commit 0cde666

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

test/test64bit.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,12 @@ class Test64BitPortability : public TestFixture {
6767
" t.a[i][j] = new std::vector<int>;\n"
6868
"}\n");
6969
ASSERT_EQUALS("", errout_str());
70+
71+
check("int f();\n" // #11522
72+
"void g() {\n"
73+
" int (*fp)() = *(int(*)())f;\n"
74+
"}\n");
75+
ASSERT_EQUALS("", errout_str());
7076
}
7177

7278
void novardecl() {

0 commit comments

Comments
 (0)