From c33fc4c00453099f4ac180313a67d6eb0f91ce0a Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 20 Feb 2013 07:22:19 +0000 Subject: Modify the tests to use attribute group references instead of listing the function attributes. llvm-svn: 175606 --- clang/test/CodeGenCXX/default-destructor-synthesis.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'clang/test/CodeGenCXX/default-destructor-synthesis.cpp') diff --git a/clang/test/CodeGenCXX/default-destructor-synthesis.cpp b/clang/test/CodeGenCXX/default-destructor-synthesis.cpp index fac5cc01f6b..d5f57215df6 100644 --- a/clang/test/CodeGenCXX/default-destructor-synthesis.cpp +++ b/clang/test/CodeGenCXX/default-destructor-synthesis.cpp @@ -24,7 +24,7 @@ struct M : Q, P { Q q_arr[2][3]; }; -// CHECK: define i32 @_Z1fv() nounwind +// CHECK: define i32 @_Z1fv() #0 int f() { { count = 1; @@ -34,3 +34,5 @@ int f() { // CHECK: ret i32 1 return count; } + +// CHECK: attributes #0 = { nounwind "target-features"={{.*}} } -- cgit v1.2.3