initial import

This commit is contained in:
alex
2016-06-27 12:03:58 +01:00
commit 6631c269a8
68 changed files with 1250 additions and 0 deletions

2
testdata/initial/file vendored Normal file
View File

@@ -0,0 +1,2 @@
This is a file without extension
and should not be modified.

6
testdata/initial/file.c vendored Normal file
View File

@@ -0,0 +1,6 @@
#include <stdio.h>
int main() {
printf("Hello world\n");
return 0;
}

7
testdata/initial/file.cc vendored Normal file
View File

@@ -0,0 +1,7 @@
#include <iostream>
using namespace std;
int main() {
cout << "Hello World!";
return 0;
}

7
testdata/initial/file.cpp vendored Normal file
View File

@@ -0,0 +1,7 @@
#include <iostream>
using namespace std;
int main() {
cout << "Hello World!";
return 0;
}

6
testdata/initial/file.cs vendored Normal file
View File

@@ -0,0 +1,6 @@
public class Hello
{
public static void Main() {
System.Console.WriteLine("Hello, World!");
}
}

3
testdata/initial/file.css vendored Normal file
View File

@@ -0,0 +1,3 @@
.div {
color: red;
}

3
testdata/initial/file.dart vendored Normal file
View File

@@ -0,0 +1,3 @@
void main() {
print('Hello World!');
}

1
testdata/initial/file.el vendored Normal file
View File

@@ -0,0 +1 @@
(message "Hello world!")

4
testdata/initial/file.erl vendored Normal file
View File

@@ -0,0 +1,4 @@
-module(hello).
-export([hello_world/0]).
hello_world() -> io:fwrite("hello, world\n").

7
testdata/initial/file.go vendored Normal file
View File

@@ -0,0 +1,7 @@
package main
import "fmt"
func main() {
fmt.Println("Hello, World!")
}

1
testdata/initial/file.h vendored Normal file
View File

@@ -0,0 +1 @@
#define SOMETHING

1
testdata/initial/file.hh vendored Normal file
View File

@@ -0,0 +1 @@
#define SOMETHING

1
testdata/initial/file.hpp vendored Normal file
View File

@@ -0,0 +1 @@
#define SOMETHING

3
testdata/initial/file.hs vendored Normal file
View File

@@ -0,0 +1,3 @@
module Main where
main = putStrLn "Hello, World!"

2
testdata/initial/file.html vendored Normal file
View File

@@ -0,0 +1,2 @@
<!doctype html>
<p>Hello World!</p>

7
testdata/initial/file.java vendored Normal file
View File

@@ -0,0 +1,7 @@
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World");
}
}

3
testdata/initial/file.js vendored Normal file
View File

@@ -0,0 +1,3 @@
function dummy() {
console.log('hello world!');
}

2
testdata/initial/file.lisp vendored Normal file
View File

@@ -0,0 +1,2 @@
; hello world lisp program.
(print "Hello World")

9
testdata/initial/file.m vendored Normal file
View File

@@ -0,0 +1,9 @@
#import <Foundation/Foundation.h>
int main (int argc, const char * argv[])
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSLog (@"Hello, World!");
[pool drain];
return 0;
}

3
testdata/initial/file.md vendored Normal file
View File

@@ -0,0 +1,3 @@
# Markdown
This is a markdown file and should not be modified.

9
testdata/initial/file.mm vendored Normal file
View File

@@ -0,0 +1,9 @@
#import <Foundation/Foundation.h>
int main (int argc, const char * argv[])
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSLog (@"Hello, World!");
[pool drain];
return 0;
}

1
testdata/initial/file.php vendored Normal file
View File

@@ -0,0 +1 @@
<?php phpinfo(); ?>

17
testdata/initial/file.proto vendored Normal file
View File

@@ -0,0 +1,17 @@
syntax = "proto3";
package helloworld;
service Greeter {
rpc SayHello (HelloRequest) returns (HelloReply) {}
}
// The request message containing the user's name.
message HelloRequest {
string name = 1;
}
// The response message containing the greetings
message HelloReply {
string message = 1;
}

1
testdata/initial/file.py vendored Normal file
View File

@@ -0,0 +1 @@
print "Hello World!"

3
testdata/initial/file.rs vendored Normal file
View File

@@ -0,0 +1,3 @@
fn main() {
println!("Hello World!");
}

5
testdata/initial/file.scala vendored Normal file
View File

@@ -0,0 +1,5 @@
object HelloWorld {
def main(args: Array[String]): Unit = {
println("Hello, world!")
}
}

1
testdata/initial/file.swift vendored Normal file
View File

@@ -0,0 +1 @@
print("Hello, world!")

1
testdata/initial/file.txt vendored Normal file
View File

@@ -0,0 +1 @@
This is a text file and should not be modified.

4
testdata/initial/file.xml vendored Normal file
View File

@@ -0,0 +1,4 @@
<root>
<one>one</one>
<two/>
</root>

2
testdata/initial/file1.sh vendored Normal file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
echo hello

1
testdata/initial/file2.sh vendored Normal file
View File

@@ -0,0 +1 @@
#!/usr/bin/go run prog.go $*