summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/mangle-system-header.cpp
blob: 3ab5f96f6239bc72e2ff7256aa1b8abd01011037 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 | FileCheck %s

// PR5420

# 1 "fake_system_header.h" 1 3 4
// CHECK-LABEL: define void @_ZdlPvS_(
void operator delete (void*, void*) {}

// PR6217
// CHECK-LABEL: define void @_Z3barv() 
void bar() { }