From: Xinliang David Li Date: Sun, 13 Dec 2015 04:45:49 +0000 (+0000) Subject: Revert r255445: adding a new test case X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=73717374307205c12565cba542a9a5abfc96d665;p=clang Revert r255445: adding a new test case git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@255447 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Profile/cxx-static.cpp b/test/Profile/cxx-static.cpp deleted file mode 100644 index 39ace1ecb4..0000000000 --- a/test/Profile/cxx-static.cpp +++ /dev/null @@ -1,11 +0,0 @@ -// REQUIRES: x86-registered-target -// RUN: %clang -target i386-unknown-linux -std=c++11 -o %t.o -c -no-integrated-as -fprofile-instr-generate %s - -__attribute__((noinline)) static int bar() { return 1; } - -int foo(int a, int b) { - auto Func = [](int a, int b) { return a > b; }; - - return Func(a, b) + bar(); -} -