blob: 23cafe8f94a3bcc8f713a844aa728bfc7df171ed [file] [log] [blame]
Ben Murdoch097c5b22016-05-18 11:27:45 +01001// Copyright (c) 2013 Google Inc. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "inline_test.h"
6
7#include <intrin.h>
8#include <stdio.h>
9
10#pragma intrinsic(_ReturnAddress)
11
12int main() {
13 if (IsFunctionInlined(_ReturnAddress()))
14 puts("==== inlined ====\n");
15}