OLD | NEW |
---|---|
(Empty) | |
1 // 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 | |
12 int main() { | |
13 if (IsFunctionInlined(_ReturnAddress())) | |
14 puts("==== inlined ====\n"); | |
15 } | |
OLD | NEW |