38a05dd1df
git-svn-id: http://root.cern.ch/svn/root/trunk@47779 27541ba8-7e3a-0410-8455-c3a389f83636
15 lines
382 B
C
15 lines
382 B
C
// RUN: cat %s | %cling -Xclang -verify | FileCheck %s
|
|
|
|
// Test the ability of unloading the last transaction. Here as a matter of fact
|
|
// we unload the wrapper as well and TODO: decrement the unique wrapper counter.
|
|
int f = 0;
|
|
.U
|
|
.rawInput 1
|
|
extern "C" int printf(const char* fmt, ...);
|
|
void f() {
|
|
printf("Now f is a function\n");
|
|
}
|
|
.rawInput 0
|
|
f()
|
|
//CHECK: Now f is a function
|