blob: 7b514ddb0b1815bd0c43ad1535456abbed672e36 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include <stdio.h>
typedef tmpl[](){
int <>_ok()
{
return 20;
}
};
typedef inst = tmpl[]();
int main()
{
int ok = inst_ok();
if (ok == 20)
puts("OK");
}
|