| Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 | FileCheck %s |
| Anders Carlsson | a1e1622 | 2009-11-07 07:15:03 +0000 | [diff] [blame] | 2 | |
| 3 | // PR5420 | ||||
| 4 | |||||
| 5 | # 1 "fake_system_header.h" 1 3 4 | ||||
| 6 | // CHECK: define void @_ZdlPvS_( | ||||
| 7 | void operator delete (void*, void*) {} | ||||
| Douglas Gregor | 96df6cf | 2010-03-07 05:10:40 +0000 | [diff] [blame] | 8 | |
| 9 | // PR6217 | ||||
| 10 | // CHECK: define void @_Z3barv() | ||||
| 11 | void bar() { } | ||||