mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
[clang][test][NFC] Also test for serialization in AST dump tests, part 2/n.
The outputs between the direct ast-dump test and the ast-dump test after deserialization should match modulo a few differences. For hand-written tests, strip the "<undeserialized declarations>"s and the "imported"s with sed. For tests generated with "make-ast-dump-check.sh", regenerate the output. Part 2/n.
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
// Test without serialization:
|
||||
// RUN: %clang_cc1 %s -ast-dump | FileCheck %s
|
||||
//
|
||||
// Test with serialization:
|
||||
// RUN: %clang_cc1 -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -x c++ -include-pch %t -ast-dump-all /dev/null \
|
||||
// RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
|
||||
// RUN: | FileCheck %s
|
||||
|
||||
// Veryify the ordering of the address_space attribute still comes before the
|
||||
// type whereas other attributes are still printed after.
|
||||
|
||||
@@ -1,4 +1,11 @@
|
||||
// Test without serialization:
|
||||
// RUN: %clang_cc1 -fsyntax-only %s -ast-dump | FileCheck %s
|
||||
//
|
||||
// Test with serialization:
|
||||
// RUN: %clang_cc1 -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -x c++ -include-pch %t -ast-dump-all /dev/null \
|
||||
// RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
|
||||
// RUN: | FileCheck %s
|
||||
|
||||
struct FOO {
|
||||
static const int vec_align_bytes = 32;
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
// Test without serialization:
|
||||
// RUN: %clang_cc1 -triple aarch64-linux-gnu -ast-dump \
|
||||
// RUN: -ast-dump-filter __SV %s | FileCheck %s
|
||||
//
|
||||
// Test with serialization:
|
||||
// RUN: %clang_cc1 -triple aarch64-linux-gnu -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -x c -triple aarch64-linux-gnu -include-pch %t \
|
||||
// RUN: -ast-dump-all -ast-dump-filter __SV /dev/null \
|
||||
// RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
|
||||
// RUN: | FileCheck %s
|
||||
|
||||
// CHECK: TypedefDecl {{.*}} implicit __SVInt8_t '__SVInt8_t'
|
||||
// CHECK-NEXT: -BuiltinType {{.*}} '__SVInt8_t'
|
||||
|
||||
@@ -1,5 +1,20 @@
|
||||
// RUN: %clang_cc1 -triple arm-apple-darwin -ast-dump -ast-dump-filter Test %s | FileCheck --strict-whitespace %s
|
||||
// RUN: %clang_cc1 -triple armv8m.base-none-eabi -mcmse -ast-dump -ast-dump-filter Test %s | FileCheck --strict-whitespace %s --check-prefix=CHECK-CMSE
|
||||
// Tests without serialization:
|
||||
// RUN: %clang_cc1 -triple arm-apple-darwin -ast-dump -ast-dump-filter Test %s \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
//
|
||||
// RUN: %clang_cc1 -triple armv8m.base-none-eabi -mcmse -ast-dump -ast-dump-filter Test %s \
|
||||
// RUN: | FileCheck --strict-whitespace %s --check-prefix=CHECK-CMSE
|
||||
//
|
||||
// Tests with serialization:
|
||||
// RUN: %clang_cc1 -triple arm-apple-darwin -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -x c -triple arm-apple-darwin -include-pch %t -ast-dump-all -ast-dump-filter Test /dev/null \
|
||||
// RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
//
|
||||
// RUN: %clang_cc1 -triple armv8m.base-none-eabi -mcmse -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -x c -triple armv8m.base-none-eabi -mcmse -include-pch %t -ast-dump-all -ast-dump-filter Test /dev/null \
|
||||
// RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
|
||||
__attribute__((interrupt)) void Test(void);
|
||||
// CHECK: FunctionDecl{{.*}}Test
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -ast-dump %s | FileCheck -strict-whitespace %s
|
||||
// Test without serialization:
|
||||
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -ast-dump %s \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
//
|
||||
// Test with serialization:
|
||||
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -x c++ -triple x86_64-unknown-unknown -include-pch %t -ast-dump-all /dev/null \
|
||||
// RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
|
||||
void testArrayInitExpr()
|
||||
{
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
// RUN: %clang_cc1 -triple x86_64-pc-linux -std=c++11 -Wno-deprecated-declarations -ast-dump -ast-dump-filter Test %s | FileCheck --strict-whitespace %s
|
||||
// Test without serialization:
|
||||
// RUN: %clang_cc1 -triple x86_64-pc-linux -std=c++11 -Wno-deprecated-declarations -ast-dump -ast-dump-filter Test %s \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
//
|
||||
// Test with serialization:
|
||||
// RUN: %clang_cc1 -triple x86_64-pc-linux -std=c++11 -Wno-deprecated-declarations -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -x c++ -triple x86_64-pc-linux -std=c++11 -Wno-deprecated-declarations \
|
||||
// RUN: -include-pch %t -ast-dump-all -ast-dump-filter Test /dev/null \
|
||||
// RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
|
||||
int TestLocation
|
||||
__attribute__((unused));
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
// RUN: %clang_cc1 -fdouble-square-bracket-attributes -triple x86_64-apple-macosx10.10.0 -ast-dump -ast-dump-filter Test %s | FileCheck --strict-whitespace %s
|
||||
// Test without serialization:
|
||||
// RUN: %clang_cc1 -fdouble-square-bracket-attributes -triple x86_64-apple-macosx10.10.0 \
|
||||
// RUN: -ast-dump -ast-dump-filter Test %s \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
//
|
||||
// Test with serialization:
|
||||
// RUN: %clang_cc1 -fdouble-square-bracket-attributes -triple x86_64-apple-macosx10.10.0 \
|
||||
// RUN: -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -x objective-c -fdouble-square-bracket-attributes -triple x86_64-apple-macosx10.10.0 \
|
||||
// RUN: -include-pch %t -ast-dump-all -ast-dump-filter Test /dev/null \
|
||||
// RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
|
||||
@interface NSObject
|
||||
@end
|
||||
|
||||
@@ -1,4 +1,15 @@
|
||||
// RUN: %clang_cc1 -triple x86_64-pc-linux -fdouble-square-bracket-attributes -Wno-deprecated-declarations -ast-dump -ast-dump-filter Test %s | FileCheck --strict-whitespace %s
|
||||
// Test without serialization:
|
||||
// RUN: %clang_cc1 -triple x86_64-pc-linux -fdouble-square-bracket-attributes \
|
||||
// RUN: -Wno-deprecated-declarations -ast-dump -ast-dump-filter Test %s \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
//
|
||||
// Test with serialization:
|
||||
// RUN: %clang_cc1 -triple x86_64-pc-linux -fdouble-square-bracket-attributes \
|
||||
// RUN: -Wno-deprecated-declarations -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -x c -triple x86_64-pc-linux -fdouble-square-bracket-attributes \
|
||||
// RUN: -Wno-deprecated-declarations -include-pch %t -ast-dump-all -ast-dump-filter Test /dev/null \
|
||||
// RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
|
||||
int Test1 [[deprecated]];
|
||||
// CHECK: VarDecl{{.*}}Test1
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -ast-dump %s | FileCheck -strict-whitespace %s
|
||||
// Test without serialization:
|
||||
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -ast-dump %s \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
//
|
||||
// Test with serialization:
|
||||
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -x c++ -triple x86_64-unknown-unknown -include-pch %t -ast-dump-all /dev/null \
|
||||
// RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
|
||||
void test_func() {
|
||||
int a, b, c;
|
||||
|
||||
@@ -1,6 +1,21 @@
|
||||
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -ast-dump -ast-dump-filter Test %s | FileCheck -strict-whitespace %s
|
||||
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -ast-dump %s | FileCheck -check-prefix CHECK-TU -strict-whitespace %s
|
||||
// RUN: %clang_cc1 -fmodules -fmodules-local-submodule-visibility -fmodule-name=X -triple x86_64-unknown-unknown -fmodule-map-file=%S/Inputs/module.modulemap -ast-dump -ast-dump-filter Test %s -DMODULES | FileCheck -check-prefix CHECK -check-prefix CHECK-MODULES -strict-whitespace %s
|
||||
// Test without serialization:
|
||||
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -ast-dump -ast-dump-filter Test %s \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
//
|
||||
// Test with serialization:
|
||||
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -x c -triple x86_64-unknown-unknown -include-pch %t \
|
||||
// RUN: -ast-dump-all -ast-dump-filter Test /dev/null \
|
||||
// RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
//
|
||||
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -ast-dump %s \
|
||||
// RUN: | FileCheck -check-prefix CHECK-TU --strict-whitespace %s
|
||||
//
|
||||
// RUN: %clang_cc1 -fmodules -fmodules-local-submodule-visibility -fmodule-name=X \
|
||||
// RUN: -triple x86_64-unknown-unknown -fmodule-map-file=%S/Inputs/module.modulemap \
|
||||
// RUN: -ast-dump -ast-dump-filter Test %s -DMODULES \
|
||||
// RUN: | FileCheck -check-prefix CHECK -check-prefix CHECK-MODULES --strict-whitespace %s
|
||||
|
||||
int TestLocation;
|
||||
// CHECK: VarDecl 0x{{[^ ]*}} <{{.*}}:[[@LINE-1]]:1, col:5> col:5 TestLocation
|
||||
|
||||
@@ -1,4 +1,14 @@
|
||||
// RUN: %clang_cc1 -std=c++11 -triple x86_64-linux-gnu -fms-extensions -ast-dump -ast-dump-filter Test %s | FileCheck -strict-whitespace %s
|
||||
// Test without serialization:
|
||||
// RUN: %clang_cc1 -std=c++11 -triple x86_64-linux-gnu -fms-extensions \
|
||||
// RUN: -ast-dump -ast-dump-filter Test %s \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
//
|
||||
// Test with serialization: FIXME: Find why the outputs differs and fix it!
|
||||
// : %clang_cc1 -std=c++11 -triple x86_64-linux-gnu -fms-extensions -emit-pch -o %t %s
|
||||
// : %clang_cc1 -x c++ -std=c++11 -triple x86_64-linux-gnu -fms-extensions -include-pch %t \
|
||||
// : -ast-dump-all -ast-dump-filter Test /dev/null \
|
||||
// : | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
|
||||
// : | FileCheck --strict-whitespace %s
|
||||
|
||||
class testEnumDecl {
|
||||
enum class TestEnumDeclScoped;
|
||||
@@ -325,7 +335,7 @@ namespace testClassTemplateDecl {
|
||||
// CHECK-NEXT: |-CXXRecordDecl 0x{{.+}} <col:14, col:20> col:20 implicit class TestClassTemplate
|
||||
// CHECK-NEXT: `-FieldDecl 0x{{.+}} <line:[[@LINE-74]]:5, col:9> col:9 j 'int'
|
||||
|
||||
// CHECK: ClassTemplateSpecializationDecl 0x{{.+}} <{{.+}}:256:3, col:44> col:25 class TestClassTemplate definition
|
||||
// CHECK: ClassTemplateSpecializationDecl 0x{{.+}} <{{.+}}:{{.*}}:3, col:44> col:25 class TestClassTemplate definition
|
||||
// CHECK-NEXT: |-DefinitionData standard_layout has_user_declared_ctor can_const_default_init
|
||||
// CHECK-NEXT: | |-DefaultConstructor exists non_trivial user_provided
|
||||
// CHECK-NEXT: | |-CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param
|
||||
@@ -411,18 +421,18 @@ namespace testClassTemplateDecl {
|
||||
// CHECK-NEXT: | `-IntegerLiteral 0x{{.+}} <col:20> 'int' 42
|
||||
// CHECK-NEXT: `-CXXRecordDecl 0x{{.+}} <col:24, col:31> col:31 struct TestTemplateDefaultNonType
|
||||
|
||||
// CHECK: ClassTemplateDecl 0x{{.+}} <{{.+}}:275:3, col:68> col:68 TestTemplateTemplateDefaultType
|
||||
// CHECK: ClassTemplateDecl 0x{{.+}} <{{.+}}:{{.*}}:3, col:68> col:68 TestTemplateTemplateDefaultType
|
||||
// CHECK-NEXT: |-TemplateTemplateParmDecl 0x{{.+}} <col:12, col:42> col:37 depth 0 index 0 TT
|
||||
// CHECK-NEXT: | |-TemplateTypeParmDecl 0x{{.+}} <col:21> col:29 typename depth 1 index 0
|
||||
// CHECK-NEXT: | `-TemplateArgument <col:42> template TestClassTemplate
|
||||
// CHECK-NEXT: `-CXXRecordDecl 0x{{.+}} <col:61, col:68> col:68 struct TestTemplateTemplateDefaultType
|
||||
|
||||
// CHECK: ClassTemplateDecl 0x{{.+}} prev 0x{{.+}} <{{.+}}:276:3, col:82> col:48 TestTemplateTemplateDefaultType
|
||||
// CHECK: ClassTemplateDecl 0x{{.+}} prev 0x{{.+}} <{{.+}}:{{.*}}:3, col:82> col:48 TestTemplateTemplateDefaultType
|
||||
// CHECK-NEXT: |-TemplateTemplateParmDecl 0x{{.+}} <col:12, col:37> col:37 depth 0 index 0 TT
|
||||
// CHECK-NEXT: | |-TemplateTypeParmDecl 0x{{.+}} <col:21> col:29 typename depth 1 index 0
|
||||
// CHECK-NEXT: | `-TemplateArgument <line:275:42> template TestClassTemplate
|
||||
// CHECK-NEXT: | `-TemplateArgument <line:{{.*}}:42> template TestClassTemplate
|
||||
// CHECK-NEXT: | `-inherited from TemplateTemplateParm 0x{{.+}} 'TT'
|
||||
// CHECK-NEXT: `-CXXRecordDecl 0x{{.+}} prev 0x{{.+}} <line:276:41, col:82> col:48 struct TestTemplateTemplateDefaultType definition
|
||||
// CHECK-NEXT: `-CXXRecordDecl 0x{{.+}} prev 0x{{.+}} <line:{{.*}}:41, col:82> col:48 struct TestTemplateTemplateDefaultType definition
|
||||
// CHECK-NEXT: |-DefinitionData empty aggregate standard_layout trivially_copyable pod trivial literal has_constexpr_non_copy_move_ctor can_const_default_init
|
||||
// CHECK-NEXT: | |-DefaultConstructor exists trivial constexpr needs_implicit defaulted_is_constexpr
|
||||
// CHECK-NEXT: | |-CopyConstructor simple trivial has_const_param needs_implicit implicit_has_const_param
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
// RUN: %clang_cc1 -Wno-unused -fblocks -ast-dump -ast-dump-filter Test %s | FileCheck -strict-whitespace %s
|
||||
// Test without serialization:
|
||||
// RUN: %clang_cc1 -Wno-unused -fblocks -ast-dump -ast-dump-filter Test %s \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
//
|
||||
// Test with serialization:
|
||||
// RUN: %clang_cc1 -Wno-unused -fblocks -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -x objective-c -Wno-unused -fblocks -include-pch %t \
|
||||
// RUN: -ast-dump-all -ast-dump-filter Test /dev/null \
|
||||
// RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
|
||||
@protocol P
|
||||
@end
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
// RUN: %clang_cc1 -Wno-unused -fblocks -ast-dump -ast-dump-filter Test %s | FileCheck -strict-whitespace %s
|
||||
// Test without serialization:
|
||||
// RUN: %clang_cc1 -Wno-unused -fblocks -ast-dump -ast-dump-filter Test %s \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
//
|
||||
// Test with serialization:
|
||||
// RUN: %clang_cc1 -Wno-unused -fblocks -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -x objective-c++ -Wno-unused -fblocks -include-pch %t \
|
||||
// RUN: -ast-dump-all -ast-dump-filter Test /dev/null \
|
||||
// RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
|
||||
@interface A
|
||||
@end
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -Wno-unused-value -std=gnu11 -ast-dump %s | FileCheck -strict-whitespace %s
|
||||
// Test without serialization:
|
||||
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -Wno-unused-value -std=gnu11 -ast-dump %s \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
//
|
||||
// Test with serialization:
|
||||
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -Wno-unused-value -std=gnu11 -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -x c -triple x86_64-unknown-unknown -Wno-unused-value -std=gnu11 \
|
||||
// RUN: -include-pch %t -ast-dump-all /dev/null \
|
||||
// RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
|
||||
void Comma(void) {
|
||||
1, 2, 3;
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -Wno-unused-value -fcxx-exceptions -std=gnu++17 -ast-dump %s | FileCheck -strict-whitespace %s
|
||||
// Test without serialization:
|
||||
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -Wno-unused-value -fcxx-exceptions -std=gnu++17 -ast-dump %s \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
//
|
||||
// Test with serialization:
|
||||
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -Wno-unused-value -fcxx-exceptions -std=gnu++17 -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -x c++ -triple x86_64-unknown-unknown -Wno-unused-value -fcxx-exceptions -std=gnu++17 \
|
||||
// RUN: -include-pch %t -ast-dump-all /dev/null \
|
||||
// RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
|
||||
namespace std {
|
||||
using size_t = decltype(sizeof(0));
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -ast-dump %s | FileCheck -strict-whitespace %s
|
||||
// Test without serialization:
|
||||
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -ast-dump %s \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
//
|
||||
// Test with serialization:
|
||||
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -x c++ -triple x86_64-unknown-unknown -include-pch %t -ast-dump-all /dev/null \
|
||||
// RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
|
||||
struct R {
|
||||
R() = default;
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
// RUN: %clang_cc1 -triple msp430-unknown-unknown -ast-dump -ast-dump-filter Test %s | FileCheck --strict-whitespace %s
|
||||
// Test without serialization:
|
||||
// RUN: %clang_cc1 -triple msp430-unknown-unknown -ast-dump -ast-dump-filter Test %s \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
//
|
||||
// Test with serialization:
|
||||
// RUN: %clang_cc1 -triple msp430-unknown-unknown -emit-pch -o %t %s
|
||||
// RUN: %clang_cc1 -x c -triple msp430-unknown-unknown -include-pch %t -ast-dump-all -ast-dump-filter Test /dev/null \
|
||||
// RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
|
||||
// RUN: | FileCheck --strict-whitespace %s
|
||||
|
||||
__attribute__((interrupt(12))) void Test(void);
|
||||
// CHECK: FunctionDecl{{.*}}Test
|
||||
|
||||
Reference in New Issue
Block a user