| 1 | #include <stdio.h> |
|---|---|
| 2 | #include <stdint.h> |
| 3 | |
| 4 | extern "C" |
| 5 | { |
| 6 | int foo(); |
| 7 | }; |
| 8 | |
| 9 | int foo() |
| 10 | { |
| 11 | puts(s: "foo"); |
| 12 | return 2; |
| 13 | } |
| 14 | |
| 15 | int main (int argc, char const *argv[], char const *envp[]) |
| 16 | { |
| 17 | foo(); |
| 18 | return 0; //% self.expect("expression -- foo()", substrs = ['2']) |
| 19 | } |
| 20 | |
| 21 |
