1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-02 03:12:25 +01:00

add new syntax test files

This commit is contained in:
henil
2020-11-15 00:22:08 +05:30
committed by David Peter
parent a5a9ac83e5
commit 591eba66a3
18 changed files with 646 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
#import <myClass.h>
@import Foundation
// Single line comments
/*
 * Multi line comment
 */
int main (int argc, const char * argv[]) {
 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
 NSLog(@"Storage size for int : %d \n", sizeof(int));
 NSLog (@"hello world");
 if (NO)
 {
 NSLog(@"I am never run");
 } else if (0)
 {
 NSLog(@"I am also never run");
 } else
 {
 NSLog(@"I print");
 }
 [pool drain];
 return 0;
}
@implementation MyClass {
 long distance;
 NSNumber height;
}