1 // RUN: %clang_cc1 -triple x86_64-pc-windows-msvc -fms-extensions -fsyntax-only -verify %s
3 [[deprecated
]] void f() {} // expected-note 2 {{marked deprecated here}}
5 #define From__pragma() \
6 __pragma(warning(push)) \
7 __pragma(warning(disable:4996)) \
12 f(); // expected-warning {{deprecated}}
15 #pragma warning(disable: 4996)
18 #pragma warning(disable: 49960000)
21 f(); // expected-warning {{deprecated}}
23 From__pragma(); // no diag