]> granicus.if.org Git - clang/commitdiff
Revert 255436 : remove test that needs to be refined
authorXinliang David Li <davidxl@google.com>
Sat, 12 Dec 2015 18:49:37 +0000 (18:49 +0000)
committerXinliang David Li <davidxl@google.com>
Sat, 12 Dec 2015 18:49:37 +0000 (18:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@255437 91177308-0d34-0410-b5e6-96231b3b80d8

test/Profile/cxx-static.cpp [deleted file]

diff --git a/test/Profile/cxx-static.cpp b/test/Profile/cxx-static.cpp
deleted file mode 100644 (file)
index b3e57c3..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// RUN: %clang -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();
-}
-