From 8286ac511144e4f17d34eac9affb97e50646344a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 23 Jul 2014 15:25:44 +0200 Subject: Imported Upstream version 4.0.0 --- libcutl/tests/compiler/sloc-counter/test.std | 36 ++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 libcutl/tests/compiler/sloc-counter/test.std (limited to 'libcutl/tests/compiler/sloc-counter/test.std') diff --git a/libcutl/tests/compiler/sloc-counter/test.std b/libcutl/tests/compiler/sloc-counter/test.std new file mode 100644 index 0000000..00b9c31 --- /dev/null +++ b/libcutl/tests/compiler/sloc-counter/test.std @@ -0,0 +1,36 @@ +// C++ comment + // C++ comment + +/* C comment */ + +/* Multiline + C + Comment + + +*/ + +#include + +char str[] = "multi\ +line\ +string\ +literal"; + +using namespace std; + + +int main( + int argc /*count*/, + char* argv[] /*array*/) +{ + /* comment start */ int x = 0; + char* s = + /* comment start */"foo"; + int y = 2 + /* tricky stuff *// + 2; + cerr << "Hello, \"world!" << '\'' << endl; +} + +18 -- cgit v1.2.3