diff options
Diffstat (limited to 'clang/test/CodeGenCXX/attr-cleanup.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/attr-cleanup.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/clang/test/CodeGenCXX/attr-cleanup.cpp b/clang/test/CodeGenCXX/attr-cleanup.cpp index 1829df8fced..ff15b03de57 100644 --- a/clang/test/CodeGenCXX/attr-cleanup.cpp +++ b/clang/test/CodeGenCXX/attr-cleanup.cpp @@ -1,11 +1,11 @@ -// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
-
-namespace N {
- void free(void *i) {}
-}
-
-int main(void) {
- // CHECK: call void @_ZN1N4freeEPv
- void *fp __attribute__((cleanup(N::free)));
- return 0;
-}
+// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s + +namespace N { + void free(void *i) {} +} + +int main(void) { + // CHECK: call void @_ZN1N4freeEPv + void *fp __attribute__((cleanup(N::free))); + return 0; +} |