Fail the test because of the dead constant leftover.

This commit is contained in:
Vassil Vassilev 2013-10-28 20:59:41 -05:00 committed by sftnight
parent 67a37e719f
commit bf03ba5040

View File

@ -1,5 +1,7 @@
// RUN: cat %s | %cling 2>&1 | FileCheck %s
// XFAIL:*
// because we fail to remove a dead constant. We should investigate the globalDCE pass.
// +@.str1 = private unnamed_addr constant [21 x i8] c"Now f is a function\0A\00", align 1
// 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.
extern "C" int printf(const char* fmt, ...);