mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-22 04:55:50 -04:00

This moves everything primarily testing the functionality of -ast-dump and -ast-print into their own directory, rather than leaving the tests spread around the testing directory. llvm-svn: 348017
13 lines
253 B
C++
13 lines
253 B
C++
// RUN: %clang_cc1 -fsyntax-only %s -std=c++11 -ast-dump -ast-dump-filter AutoVar | FileCheck %s
|
|
|
|
namespace {
|
|
class foo {
|
|
};
|
|
}
|
|
|
|
#pragma GCC visibility push(hidden)
|
|
auto AutoVar = foo();
|
|
|
|
// CHECK: VarDecl {{.*}} AutoVar
|
|
// CHECK-NOT: VisibilityAttr
|