// RUN: clang-cc -analyze -checker-cfref -analyzer-store=region -verify %s
-// XFAIL
+// XFAIL: *
char f1() {
char* s = "abcd";
// RUN: clang-cc -fsyntax-only -verify %s
-// XFAIL
+// XFAIL: *
namespace N {
struct S {};
// RUN: clang-cc -fsyntax-only -verify %s
-// XFAIL
+// XFAIL: *
class C {
public:
// RUN: clang-cc -verify %s
-// XFAIL
+// XFAIL: *
void f0(void) {
inline void f1(); // expected-error {{'inline' is not allowed on block scope function declaration}}
// RUN: clang-cc -verify %s
-// XFAIL
+// XFAIL: *
void f0() {
}
// RUN: clang-cc -verify %s
-// XFAIL
+// XFAIL: *
class A {
public:
// RUN: clang-cc -verify %s
-// XFAIL
+// XFAIL: *
typedef const int T0;
typedef int& T1;
// RUN: clang-cc -verify %s
-// XFAIL
+// XFAIL: *
struct S {
typedef struct A {} A; // expected-note {{previous definition is here}}
// RUN: clang-cc -fsyntax-only -verify %s
-// XFAIL
+// XFAIL: *
// A template-parameter shall not be used in its own default argument.
template<typename T = typename T::type> struct X; // expected-error{{default}}
// RUN: clang-cc -fsyntax-only -verify %s
-// XFAIL
+// XFAIL: *
// Note: we fail this test because we perform template instantiation
// at the end of the translation unit, so argument-dependent lookup
// RUN: clang-cc -triple i386-unknown-unknown -emit-llvm %s -o %t &&
// RUN: grep "load i8\*\*\* %p.addr" %t | count 1
-// XFAIL
+// XFAIL: *
// PR3800
void f(void **p)
// RUN: clang-cc -g %s -emit-llvm -o %t -fblocks &&
// RUN: grep "func.start" %t | count 4
// 1 declaration, 1 bar, 1 test_block_dbg and 1 for the block.
-// XFAIL
+// XFAIL: *
static __inline__ __attribute__((always_inline)) int bar(int va, int vb) { return (va == vb); }
//
// This test is actually just making sure we can generate the debug info for the
// return type from im0 without crashing.
-// XFAIL
+// XFAIL: *
@interface I0 {
I0 *_iv0;
// RUN: clang-cc -fsyntax-only -verify %s
// Failing currently due to Obj-C type representation changes. 2009-09-17
-// XFAIL
+// XFAIL: *
typedef struct objc_object {
struct objc_class *isa;
// RUN: clang-cc -fsyntax-only -verify %s
-// XFAIL
+// XFAIL: *
@interface Foo
@end
// FIXME: This crashes, disable it until fixed.
// RN: clang-cc -verify -emit-llvm -o - %s
// RUN: false
-// XFAIL
+// XFAIL: *
// Test reference binding.
// RUN: clang-cc -fsyntax-only -verify %s
-// XFAIL
+// XFAIL: *
template<typename T> struct Member0 {
void f(T t) {