diff --git a/test.c b/test.c new file mode 100644 index 0000000..da05479 --- /dev/null +++ b/test.c @@ -0,0 +1,5 @@ +void f() +{ + char *p; + *p = 0; +} diff --git a/test.java b/test.java new file mode 100644 index 0000000..65ea8fe --- /dev/null +++ b/test.java @@ -0,0 +1,26 @@ +/************************************************************************* + * Compilation: javac HelloWorld.java + * Execution: java HelloWorld + * + * Prints "Hello, World". By tradition, this is everyone's first program. + * + * % java HelloWorld + * Hello, World + * + * These 17 lines of text are comments. They are not part of the program; + * they serve to remind us about its properties. The first two lines tell + * us what to type to compile and test the program. The next line describes + * the purpose of the program. The next few lines give a sample execution + * of the program and the resulting output. We will always include such + * lines in our programs and encourage you to do the same. + * + *************************************************************************/ + +public class HelloWorld { + + public static void main(String[] args) { + System.out.println("Hello, World"); + + } + +} diff --git a/test.js b/test.js new file mode 100644 index 0000000..10a2093 --- /dev/null +++ b/test.js @@ -0,0 +1,15 @@ +function main(a, b) { + switch (cond) { + case "one": + doSomething(); // JSHint will warn about missing 'break' here. + case "three": + doSomethingElse(); + case "two": + doSomethingElse(); + } + +// test to show pull request comments 5 +// eslint test9 + return a == null; +} + diff --git a/test.py b/test.py new file mode 100644 index 0000000..d1ad480 --- /dev/null +++ b/test.py @@ -0,0 +1,4 @@ +import test + +# testing python support +print "test" diff --git a/test.rb b/test.rb new file mode 100644 index 0000000..37f6cdd --- /dev/null +++ b/test.rb @@ -0,0 +1,13 @@ +def badName + if something + test + + end + end + + + +# test for status,6 + + + diff --git a/test.sh b/test.sh new file mode 100644 index 0000000..9f0f8dd --- /dev/null +++ b/test.sh @@ -0,0 +1,11 @@ +var$n="Hello" +while read host; do ssh "$host" uptime; done < file +echo ${var$n} + + + +echo ${var$n} + + +echo "TEST" +