mirror of
https://gitee.com/jiuyilian/embedded-framework.git
synced 2025-01-06 10:16:51 -05:00
20 lines
231 B
C++
20 lines
231 B
C++
#include <stdio.h>
|
|
|
|
#include "hscope.h"
|
|
|
|
int main() {
|
|
defer (
|
|
printf("1\n");
|
|
printf("2\n");
|
|
)
|
|
|
|
defer (
|
|
printf("3\n");
|
|
printf("4\n");
|
|
)
|
|
|
|
defer(printf("hello\n");)
|
|
|
|
return 0;
|
|
}
|