- source files and Makefiles need never be executable - scripts are run directly by their interpreters in the test suites, so also do not need to be executable
13 lines
214 B
C++
13 lines
214 B
C++
/* File : example.h */
|
|
|
|
enum color { RED, BLUE, GREEN };
|
|
|
|
class Foo {
|
|
public:
|
|
Foo() { }
|
|
enum speed { IMPULSE=10, WARP=20, LUDICROUS=30 };
|
|
void enum_test(speed s);
|
|
};
|
|
|
|
void enum_test(color c, Foo::speed s);
|
|
|