50 lines
1.5 KiB
Plaintext
50 lines
1.5 KiB
Plaintext
|
================================================================================
|
||
|
Preprocessor import: string literal
|
||
|
================================================================================
|
||
|
|
||
|
#import "bar.h"
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
|
||
|
(translation_unit
|
||
|
(preproc_import
|
||
|
path: (string_literal)))
|
||
|
|
||
|
================================================================================
|
||
|
Preprocessor import: system lib string
|
||
|
================================================================================
|
||
|
|
||
|
#import <foo/bar.h>
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
|
||
|
(translation_unit
|
||
|
(preproc_import
|
||
|
path: (system_lib_string)))
|
||
|
|
||
|
================================================================================
|
||
|
Preprocessor import and __has_include: system lib string
|
||
|
================================================================================
|
||
|
|
||
|
#if __has_include(<foo/bar.h>)
|
||
|
#import <foo/bar.h>
|
||
|
#endif
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
|
||
|
(translation_unit
|
||
|
(preproc_import
|
||
|
path: (system_lib_string)))
|
||
|
|
||
|
================================================================================
|
||
|
Module import
|
||
|
================================================================================
|
||
|
|
||
|
@import foo.bar
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
|
||
|
(translation_unit
|
||
|
(module_import
|
||
|
(module_string)))
|