xref: /Universal-ctags/Units/parser-cxx.r/c-header-as-cpp.d/input.h (revision d60b2b212df5afb8a08c56d0f946ddbb1f89347f)
1 /*
2 Reported by masatake in issue #930@github.
3 
4 .h files are always parsed in C++ mode, for safety.
5 However they may actually contain C code, which may
6 use C++ keywords as variable names.
7 
8 This test checks the C++ parser capabilities to guess such occurences.
9 
10 
11 */
12 
13 extern int private;
public(void)14 static inline int public(void)
15 {
16 	return private;
17 }
18 
19 typedef int protected;
20 
21