repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CXX
/
basic
/
basic.lookup
/
basic.lookup.qual
/
p6-0x.cpp
blob
c3be712ddbcaafade895b4381e9e5084fd38e96d
1
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
4
struct
C
{
5
typedef
int
I
;
6
};
7
8
typedef
int
I1
,
I2
;
9
extern
int
*
p
;
10
extern
int
*
q
;
11
12
void
f
() {
13
p
->
C
::
I
::~
I
();
14
q
->
I1
::~
I2
();
15
}
16
17
struct
A
{
18
~
A
();
19
};
20
21
typedef
A AB
;
22
int
main
() {
23
AB
*
p
;
24
p
->
AB
::~
AB
();
25
}