[cfe-commits] r160032 - /cfe/trunk/test/CodeGenCXX/destructor-debug-info.cpp

Eric Christopher echristo at apple.com
Tue Jul 10 18:49:24 PDT 2012


Author: echristo
Date: Tue Jul 10 20:49:24 2012
New Revision: 160032

URL: http://llvm.org/viewvc/llvm-project?rev=160032&view=rev
Log:
FileCheck-ize.

Modified:
    cfe/trunk/test/CodeGenCXX/destructor-debug-info.cpp

Modified: cfe/trunk/test/CodeGenCXX/destructor-debug-info.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/destructor-debug-info.cpp?rev=160032&r1=160031&r2=160032&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/destructor-debug-info.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/destructor-debug-info.cpp Tue Jul 10 20:49:24 2012
@@ -1,6 +1,5 @@
-// RUN: %clang_cc1 -g -S -emit-llvm -o %t %s
-// RUN: grep "i32 20, i32 3, metadata" %t | count 1
-// Check there is a line number entry for line 20 where b1 is destructed.
+// RUN: %clang_cc1 -g -S -emit-llvm %s -o - | FileCheck %s
+
 class A { int a; };
 class B {
 public:
@@ -19,3 +18,5 @@
     fn (b1);
   }
 }
+// Check there is a line number entry for line 19 where b1 is destructed.
+// CHECK: i32 19, i32 3, metadata





More information about the cfe-commits mailing list