llvm-capstone/clang/test/CodeGenObjCXX/subst-sel.mm
David Majnemer eea02eefe7 AST: Consider pseudo-struct builtin types as substitutable
We didn't consider types like ObjCSel as a substitution candidate.

This fixes PR21688.

llvm-svn: 222941
2014-11-28 22:22:46 +00:00

5 lines
191 B
Plaintext

// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
// CHECK: @_Z4bad1P8NSObjectP13objc_selectorP11objc_objectS4_
void bad1(struct NSObject *, SEL, id, id) {}