mirror of
https://github.com/opnsense/src.git
synced 2026-02-21 00:40:33 -05:00
11 lines
186 B
C++
11 lines
186 B
C++
// RUN: %clang_cc1 -fsyntax-only -verify %s -fblocks
|
|
|
|
void tovoid(void*);
|
|
|
|
void tovoid_test(int (^f)(int, int)) {
|
|
tovoid(f);
|
|
}
|
|
|
|
void reference_lvalue_test(int& (^f)()) {
|
|
f() = 10;
|
|
}
|