Commit d6ba24a8 authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

minor update to tests

parent fd5e3a49
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -137,6 +137,7 @@ std::unique_ptr<clang::CodeGenAction> emit_llvm_ir(const std::string src_code) {
  llvm::InitializeNativeTarget();
  llvm::InitializeNativeTargetAsmPrinter();

  std::remove("local_output.cpp");
//   int Res = 255;
//   std::unique_ptr<llvm::LLVMContext> Ctx(Act->takeLLVMContext());
//   std::unique_ptr<llvm::Module> Module = Act->takeModule();
+0 −1
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@ TEST(LLVMCompilerTester, checkSimple) {
      std::make_pair("function-prototype", "void f(qreg q)")};
  auto translated = llvm_compiler->translate(f, extra_data);

  EXPECT_TRUE(extra_data.key_exists_any_type("llvm-function"));
  std::cout << "translated:\n" << translated << "\n";

}