summaryrefslogtreecommitdiff
path: root/Examples/test-suite/preproc_gcc_output.i
blob: b4db9e70a7aba0e8211a1d68d7b16bf254b837ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
%module preproc_gcc_output
// Testcase for Github issue #1475 using the output of gcc -E

// The file below was generated using 'gcc -E header1.h'
// where header1.h included header2.h
%include "preproc_gcc_output.h"

%{
void header1_function_a(int a) {}
void header2_function(int x) {}
void header1_function_b(int b) {}
%}