From 296a710b5bd6a6e236ea7d47a6c437d62711e465 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 11 Jul 2012 01:49:24 +0000 Subject: [PATCH] FileCheck-ize. llvm-svn: 160032 --- clang/test/CodeGenCXX/destructor-debug-info.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/clang/test/CodeGenCXX/destructor-debug-info.cpp b/clang/test/CodeGenCXX/destructor-debug-info.cpp index 9e32275d3394..385c86d9be19 100644 --- a/clang/test/CodeGenCXX/destructor-debug-info.cpp +++ b/clang/test/CodeGenCXX/destructor-debug-info.cpp @@ -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 @@ void foo() { fn (b1); } } +// Check there is a line number entry for line 19 where b1 is destructed. +// CHECK: i32 19, i32 3, metadata