xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-system-header.cpp (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 | FileCheck %s
2*f4a2713aSLionel Sambuc 
3*f4a2713aSLionel Sambuc // PR5420
4*f4a2713aSLionel Sambuc 
5*f4a2713aSLionel Sambuc # 1 "fake_system_header.h" 1 3 4
6*f4a2713aSLionel Sambuc // CHECK-LABEL: define void @_ZdlPvS_(
operator delete(void *,void *)7*f4a2713aSLionel Sambuc void operator delete (void*, void*) {}
8*f4a2713aSLionel Sambuc 
9*f4a2713aSLionel Sambuc // PR6217
10*f4a2713aSLionel Sambuc // CHECK-LABEL: define void @_Z3barv()
bar()11*f4a2713aSLionel Sambuc void bar() { }
12