mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
Prepare wpiutil for merge into allwpilib.
This commit is contained in:
15
wpiutil/src/dev/java/edu/wpi/first/wpiutil/DevMain.java
Normal file
15
wpiutil/src/dev/java/edu/wpi/first/wpiutil/DevMain.java
Normal file
@@ -0,0 +1,15 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
package edu.wpi.first.wpiutil;
|
||||
|
||||
public class DevMain {
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Hello World!");
|
||||
System.out.println(RuntimeDetector.getPlatformPath());
|
||||
}
|
||||
}
|
||||
17
wpiutil/src/dev/native/cpp/main.cpp
Normal file
17
wpiutil/src/dev/native/cpp/main.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include "llvm/SmallVector.h"
|
||||
#include "llvm/StringRef.h"
|
||||
#include "support/hostname.h"
|
||||
|
||||
int main() {
|
||||
llvm::StringRef v1("Hello");
|
||||
std::cout << v1.lower() << std::endl;
|
||||
}
|
||||
Reference in New Issue
Block a user