Sha256: 269d05902501d6817d3ec2551b910f09c1e42faea546e25bd4a8c38b0310c808

Contents?: true

Size: 506 Bytes

Versions: 3

Compression:

Stored size: 506 Bytes

Contents

/** A test class which does nothing.

	This is used by `main`.
*/
template<typename T>
class Test {};

/// This is a specialization for integers.
template<>
class Test<int> {
public:
	/// The number of times it has been incremented.
	int count;
	
};

/// This always fails.
/// @param argc The number of items in `argv`. At least 1.
/// @param argv The command line arguments, with argv[0] being the command used to execute this program.
int main(int argc, char ** argv) {
	Test<int> test;
	
	return 1;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ffi-clang-0.7.0 examples/docs.cpp
ffi-clang-0.6.0 examples/docs.cpp
ffi-clang-0.5.0 examples/docs.cpp