// RUN: %clang_cc1 %s -Wunused-macros -Dfoo -Dfoo -verify

#include "warn-macro-unused.h"

#define unused // expected-warning {{macro is not used}}
#define unused
unused

// rdar://9745065
#undef unused_from_header // no warning

// RUN: %clang_cc1 %s -Wunused-macros -Dfoo -Dfoo -verify
// XFAIL: *

#include "warn-macro-unused.h"

#define unused // expected-warning {{macro is not used}}
#define unused
unused

// rdar://9745065
#undef unused_from_header // no warning

Test is broken; XFAIL it until Argyrios gets a chance to look at it.
Test is broken; XFAIL it until Argyrios gets a chance to look at it.



git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@134925 91177308-0d34-0410-b5e6-96231b3b80d8
