r255447 - Revert r255445: adding a new test case
Xinliang David Li via cfe-commits
cfe-commits at lists.llvm.org
Sat Dec 12 20:45:49 PST 2015
Author: davidxl
Date: Sat Dec 12 22:45:49 2015
New Revision: 255447
URL: http://llvm.org/viewvc/llvm-project?rev=255447&view=rev
Log:
Revert r255445: adding a new test case
Removed:
cfe/trunk/test/Profile/cxx-static.cpp
Removed: cfe/trunk/test/Profile/cxx-static.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Profile/cxx-static.cpp?rev=255446&view=auto
==============================================================================
--- cfe/trunk/test/Profile/cxx-static.cpp (original)
+++ cfe/trunk/test/Profile/cxx-static.cpp (removed)
@@ -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();
-}
-
More information about the cfe-commits
mailing list