Skip to content
Snippets Groups Projects
Commit 77afad95 authored by Frederich Munch's avatar Frederich Munch Committed by Vassil Vassilev
Browse files

Fixes for CERN-LLVM.

parent f2a8d10a
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,10 @@
// RUN: cat %s | %cling -I%S -Xclang -verify 2>&1 | FileCheck %s
// Tests undoing of macro definitions
// Invoke the printer to get it in the undo queue early
"TEST"
// CHECK: (const char [5]) "TEST"
// Make sure one Transactin can handle redefinitions
#include "Macros.h"
// expected-warning@Macros.h:3 {{'TEST' macro redefined}}
......@@ -25,6 +29,7 @@ TEST
.undo //print
.undo //include
.undo // FIXME: REMOVE once print unloading is merged
TEST // expected-error@2 {{use of undeclared identifier 'TEST'}}
......@@ -35,6 +40,7 @@ TEST
// CHECK: (const char [8]) "DEFINED"
.undo // print
.undo // define
.undo // FIXME: REMOVE once print unloading is merged
TEST // expected-error@2 {{use of undeclared identifier 'TEST'}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment