https://github.com/epiqc/ScaffCC
Raw File
Tip revision: 9d2cca71cf54ddfebda26e247d82ae7b71d9e03c authored by Pranav Gokhale on 30 June 2018, 18:56:21 UTC
Fix OpenQASM output formatting of Rx and Ry
Tip revision: 9d2cca7
sel-as-builtin-type.m
// RUN: %clang_cc1 -emit-llvm -o %t %s
// pr5025
// radar 7405040

typedef const struct objc_selector {
  void *sel_id;
  const char *sel_types;
} *SEL;

@interface I2
+(id) dictionary;
@end

@implementation I3; // expected-warning {{cannot find interface declaration for 'I3'}}
+(void) initialize {
  I2 *a0 = [I2 dictionary];
}
@end

int func(SEL s1, SEL s2)
{
        return s1->sel_id == s2->sel_id;
}
back to top