teak-llvm/clang/test/Driver/objc++-cpp-output.mm
Jyotsna Verma abd62140c0 Use -emit-llvm for the following tests to stop them from failing for Hexagon:
CodeGenCXX/vtable-debug-info.cpp
Driver/objc++-cpp-output.mm
Driver/objc-cpp-output.m

llvm-svn: 179602
2013-04-16 15:55:41 +00:00

18 lines
429 B
Plaintext

// RUN: %clang -emit-llvm -x objc++-cpp-output -S %s -o /dev/null
// RUN: %clang -emit-llvm -x objc++-cpp-output -S %s -o /dev/null -### 2>&1 | FileCheck %s
// PR13820
// REQUIRES: LP64
// Should compile without errors
@protocol P
- (void)m;
@end
void f() {}
class C {};
// Make sure the driver is passing all the necessary exception flags.
// CHECK: "-fobjc-exceptions"
// CHECK: "-fcxx-exceptions"
// CHECK: "-fexceptions"